Skip to content
Text Cleanup Tools

Text Cleanup Tools › Encode and decode

URL Encoder and Decoder

Convert text to percent-encoding for URLs, or turn %20-style text back into readable characters.

Processed on your device. Nothing is uploaded or stored on a server.

How it works

  1. Paste the text or the encoded string.
  2. Choose to encode a single URL part, encode a whole URL, or decode.
  3. Copy the result.

Example

Before
name=Zoë & Co. / 50% off?
After
name%3DZo%C3%AB%20%26%20Co.%20%2F%2050%25%20off%3F

What this tool does

URLs can only carry a limited set of characters. Anything else, including spaces, accented letters, emoji and symbols with a special meaning, is written as a percent sign followed by the byte values in hexadecimal, so a space becomes %20 and é becomes %C3%A9. Choose “URL part” for a value that goes inside a parameter or path piece: it also encodes the characters / ? & = # that would otherwise change the structure of the address. Choose “whole URL” to keep those structural characters and encode only the rest. Decoding reverses the process, and if the text contains broken sequences such as a lone %, the valid parts are decoded and the broken part is left alone. The plus option handles form data, where a space is written as +.

Common problems

My link broke after encoding the whole address

You probably used “URL part” on a full address, which also encodes the slashes and the colon. Use “whole URL” for complete addresses.

Decoded text shows odd characters

The text may have been encoded with a legacy character set instead of UTF-8. This tool assumes UTF-8, which current browsers and servers use.

Questions

What is the difference between the two encode modes?

URL part encoding escapes every special character, including / ? & = and #. Whole URL encoding leaves those alone, so the address keeps its structure.

Is percent-encoding the same as Base64?

No. Percent-encoding makes text safe inside a URL. Base64 turns data into a different set of letters and digits. Neither one is encryption.

Is my text sent to a server?

No. Encoding and decoding run in your browser.

Related tools

Guides

Last reviewed 2026-10-14.