URL Encode / Decode

Percent-encode special characters for URLs, or decode encoded URLs back to readable text.

Free, no sign-upRuns in your browserWorks on any device
0
Input Length
0
Output Length
0
Special Chars
Encode → URL
Decode ← URL
Input Text or URL encoded
Output Converted result
Waiting for input...
URL Encoding Reference
Space%20
!%21
"%22
#%23
$%24
%%25
&%26
'%27
(%28
)%29
*%2A
+%2B
,%2C
--
..
/%2F
:%3A
;%3B
<%3C
=%3D
>%3E
?%3F
@%40
[%5B
]%5D

About the URL Encode / Decode

URLs can only contain certain characters, so spaces, symbols and non-English letters must be percent-encoded. This tool encodes text for safe use in URLs and decodes encoded URLs so you can read them.

It is handy for building query strings, debugging tracking links and reading redirect URLs.

How to use the URL Encode / Decode

  1. Paste your text or URL.
  2. Choose encode or decode.
  3. Click convert.
  4. Copy the result.

Key features

  • Encode and decode
  • Component or full URL mode
  • UTF-8 support
  • Instant results

Component versus full URL encoding

Encoding a URL component, such as a search term or parameter value, converts every reserved character including &, =, ? and /, so the value cannot be confused with the URL structure. Encoding a full URL keeps those structural characters and only encodes spaces and other unsafe characters, so the link still works.

Non-English letters and emojis are converted to UTF-8 bytes and then percent-encoded, so ü becomes %C3%BC. Decoding reverses this to make long tracking links and redirect URLs readable.

Common uses

  • Building query strings with spaces and special characters.
  • Reading encoded links from emails, ads and analytics tools.
  • Debugging redirect and callback URLs in web apps.
  • Preparing UTM parameters for marketing campaigns.

Tips for the best results

  • Encode each parameter value separately, not the whole URL, when building links.
  • Decode suspicious links before clicking to see where they really go.
  • Never encode the https:// part of a link when building redirects, as encoded colons and slashes break the URL.

Frequently asked questions

Why is a space encoded as %20?

Spaces are not allowed in URLs, so they are replaced with %20, or + in some form submissions.

Should I encode a full URL?

Usually you only encode individual parameter values, not the whole URL.

Is this tool private?

Yes, nothing is sent to a server.

Why do some URLs use + for spaces?

HTML forms encode spaces as + in query strings. In other parts of a URL, spaces are %20.

Can I decode a URL that was encoded twice?

Yes. Decode it once, and if you still see sequences such as %20, decode the result again.

Related developer tools

View all →