# URL Encoder/Decoder

> URL-encode text or decode codes like %C3%A7: a single part or a full address, with an option for + as space. Runs in your browser; nothing is sent.

Source: https://widgetpantry.com/en/url-encode-decode · Türkçe: https://widgetpantry.com/tr/url-kodlayici

Encode text with accents, spaces or & so it is safe inside a link, or turn an encoded address back into readable text.

Runs in your browser: files and text are not uploaded. [Use the tool](https://widgetpantry.com/en/url-encode-decode)

## How to use it

1. Choose Encode or Decode.
2. Type or paste the text or address; when encoding, choose what you are encoding.
3. The result updates as you type; take it with “Copy”.

## A part or a full address?

Some characters mean something in a link: ? starts the query, & separates values, / splits the path, # jumps within a page. When a search term or form value contains them, they have to be encoded or the address is read wrongly. “Part” encodes all of them: use it when adding a value to an address.

“Full address” keeps the structure such as https://, / and ?, encoding only non-ASCII letters and spaces. It suits making a whole address you already have safe to share.

Example: “tea & coffee” as a part becomes tea%20%26%20coffee. Letters outside ASCII are encoded as their UTF-8 bytes, so é takes two codes (%C3%A9).

## Frequently asked questions

### Should a space be %20 or +?

Both are common. The path of an address uses %20. HTML forms send spaces in the query as +; tick “+ for spaces” for that style. When decoding, the same box turns + back into spaces.

### What does the “malformed” error mean?

Somewhere a % is not followed by two hex digits, or a sequence of codes is not valid UTF-8. The address may have been cut off when copied; try pasting all of it again.

### Is this the same as Base64?

No. URL encoding leaves the text readable and only turns problem characters into %XX. Base64 rewrites all the data in another alphabet; use Base64 Encode/Decode for that.

### Is the address I paste sent anywhere?

No. Encoding and decoding happen in your browser; your text is never sent to our server or stored.

## Related tools

- [Base64 Encode/Decode](https://widgetpantry.com/en/base64-encode-decode): Base64 encode and decode online: turn text into Base64 or Base64 back into text. UTF-8, emoji and base64url support. Runs in your browser.
- [JSON Formatter](https://widgetpantry.com/en/json-formatter): Online JSON formatter and validator: pretty-print, validate and minify JSON. Line and column for errors, 2/4-space or tab indentation, one-click copy.
- [Hash Generator](https://widgetpantry.com/en/hash-generator): Generate MD5, SHA-256, SHA-1, SHA-384 and SHA-512 hashes of text or files, copy them and compare against an expected checksum. No upload, runs in your browser.
