Encode, decode and inspect a URL.
Turn text into a safe URL part and back, or split a link into host, path and parameters.
Loading…
Next step: UTM link builder →
Three steps.
Choose Encode, Decode or Inspect URL.
Paste the text or link; the result updates as you type.
Copy the result, or a single parameter from the table.
What is URL encoding?
A URL can only contain a limited set of characters. Everything else, such as spaces, accented letters, & or ? inside a value, is written as % plus two hex digits for each UTF-8 byte. A space becomes %20, è becomes %C3%A8.
Parameter value or whole URL?
Use Parameter value (encodeURIComponent) when you put text inside a link, for example a search term after ?q=: it also escapes & = ? /, which would otherwise break the link. Use Whole URL (encodeURI) to clean up a full address while keeping its structure.
Why does decoding fail?
Two common reasons: a lone % not followed by two hex digits, or text encoded with an old charset like Latin-1 (%E8 for è). The tool tells you which one and where. In form data a + means a space; keep that option on for links copied from search forms.
Inspect URL lists each query parameter decoded, so you can read tracking links before you click them.
Questions.
Should a space be %20 or +?
In the path and in most APIs, %20. The + only means a space in form-encoded query strings. %20 is always safe.
Is it the same as Base64?
No. URL encoding keeps readable characters and escapes only unsafe ones. Base64 rewrites everything in a 64-character alphabet.