ToolFlow
Home›Text Tools›URL Encoder / Decoder

URL Encoder / Decoder

Use our free URL Encoder / Decoder tool to encode or decode urls for the web. It runs in your browser — no installation, no registration, no hidden fees.

Frequently asked questions

Is my text saved?+
No. Processing happens in your browser. Nothing is logged.
Character limits?+
Most tools support up to 100,000 characters.

The URL Encoder and Decoder converts text into a form that is safe to place inside a web address, and converts it back again. Characters such as spaces, ampersands and accents cannot be used freely in a URL, so they are replaced with a percent sign and a code, for example a space becomes %20.

It runs in your browser, so nothing you enter is uploaded.

How to encode or decode a URL

  1. Paste your text or URL into the top box
  2. Click Encode to make it URL-safe, or Decode to turn percent codes back into normal text
  3. Copy the result from the output box

Encode a value, not a whole address

  • Encoding converts everything except letters, numbers and the characters - _ . ! ~ * ' ( ).
  • That includes : / ? & =. If you paste a complete URL, those characters are encoded too and the link will stop working.
  • Use Encode for a single value, such as a search phrase, a redirect address or a query parameter, that you will place inside a URL.

Decoding

  • Decode converts percent codes such as %20 and %C3%A9 back to their characters.
  • A plus sign is not turned into a space. Some forms use + for spaces, so replace those yourself if needed.
  • If the text contains a broken percent code, such as a % that is not followed by two valid characters, the tool shows an error.

Common uses

  • Building links that carry a search phrase or another URL
  • Reading long, encoded tracking or redirect links
  • Debugging query strings in APIs
  • Preparing text with spaces, accents or symbols for use in a link
Example: encoding coffee & tea gives coffee%20%26%20tea, which is safe to use as the value of a query parameter.

Related tools

Frequently asked questions

Why did my whole URL stop working after encoding?
The encoder also converts characters such as : / ? and & that give a URL its structure. Encode only the value you are inserting, then add it to the URL.
Does it turn a plus sign into a space when decoding?
No. Only percent codes are decoded.
Does it handle accents and emoji?
Yes. They are converted to UTF-8 percent codes and restored when decoded.
Why do I get “invalid input” when decoding?
The text contains a % sign that is not followed by a valid two-character code.
Is the text uploaded?
No. Everything happens in your browser.

Related tools

Why ToolFlow?

100% free, no hidden costs
No account or login required
Works on any device
Fast results in seconds