Toolezs
Back to All Tools
URL Encode / Decode

URL Encode and Decode: convert special characters in links, free in your browser.

Turn spaces and symbols into safe %-codes, or decode a messy link back to readable text. Nothing leaves your browser.

Your input is processed in your browser. Nothing is uploaded.

Avoid pasting passwords or secret keys into any online tool. The tool reads the links you paste but never opens or checks them.

What do you want to do?

Component mode encodes one value, the way encodeURIComponent does. Use it for a query parameter or a search term.

Your text or value

0 characters

Encoded result

Type or paste something above and the result appears here as you type.

URL breakdown

Enter a full link such as https://example.com/page?name=Ali to see its parts. The tool reads the link here in your browser and never opens or checks it.

How to encode or decode a URL online

  1. 1.Paste your text or link into the input box.
  2. 2.Choose Encode to turn special characters into %-codes, or Decode to turn them back into readable text.
  3. 3.Pick Component for a single value, such as a query parameter, or Full URL to keep characters such as : / ? and &.
  4. 4.Copy the result. If you pasted a full link, the URL breakdown shows its parts and query parameters.

Why use this URL encoder and decoder?

  • Two encoding modes: encode one value or a whole link, with an option for + as a space.
  • Safe decoding: a broken % code is left as it is and reported instead of stopping the whole result.
  • Double-encoding finder: spots codes like %2520 and decodes them with one click.
  • URL breakdown: see the protocol, host, path and query parameters of a link in a table.
  • Works with any language: text is converted as UTF-8.
  • Private and free: it all happens in your browser, with no sign-up.

What is URL encoding?

URL encoding, also called percent-encoding, replaces characters that are not safe in a web address with a percent sign and two hexadecimal digits. A space becomes %20, an ampersand becomes %26 and the letter é becomes %C3%A9. This keeps links working when they contain spaces, symbols or non-English letters. To URL decode a link, read each %XX back as the byte it names, then read the bytes as UTF-8. Common codes:

  • Space: %20
  • &: %26
  • =: %3D
  • ?: %3F
  • #: %23
  • /: %2F
  • +: %2B
  • %: %25

Tips before you encode a URL

Convert each value on its own before you put it in a link, using Component mode. Do not use Component mode on a whole link, because it would also encode the : and / that make the link work. Do not encode the same text twice, which gives codes like %2520. In form data a space can appear as +, while %20 works everywhere in a link. If a link looks full of % codes, URL decode it in Decode mode before you read it. Want a QR code for a link? Use the QR Code Generator. Need to look at data inside a link? Try Base64 Encode / Decode or the JSON Formatter & Validator.

Common uses

Building links with query parameters, fixing a link that contains spaces, reading an encoded link from an email or a log file, preparing text for an API request, and using the tool to URL decode a link that is full of % codes.

Frequently asked questions

Is this URL encoder and decoder free?

Yes. There is no sign-up and no limit on how often you use it.

Is my text uploaded anywhere?

No. Everything happens in your browser, and the tool never opens or checks the links you paste.

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent encodes more characters and is meant for a single value, such as a query parameter. encodeURI is meant for a whole link and keeps characters such as : / ? and &.

Why is a space written as %20 or +?

%20 works everywhere in a link. A + is used for spaces in form data inside a query string.

What does %2520 mean?

It is a space that was encoded twice. %20 became %2520 because the % was encoded as %25. Decode it twice to get the space back.

How do I URL decode a link?

Paste it into the tool, choose Decode and copy the result.

Is a URL the same as a URI?

A URL is a kind of URI that says where something is. Many people use the two words loosely.

Does it work with non-English characters?

Yes. Text is converted as UTF-8, so a letter like é becomes %C3%A9.

Want the full story? Read URL encoding explained.