FREE TOOL · PRIVATE BY DESIGN
Encode a value, decode a string, or preserve the structure of a complete URL — right here in your browser.
URL WORKSPACE
Plain English: percent-encoding (also called URL encoding) rewrites the characters a URL cannot carry directly as a percent sign plus two hex digits. A space becomes %20; an accented letter becomes a run of %XX groups.
· Component mode: encode / decode one piece of text, such as a single parameter value.
· Full URL mode: splits the URL into scheme / host / path / query / fragment and encodes each part on its own, keeping the structural characters (:// / ? & = #) intact.
· With batch on, every line is treated as its own item, and a bad line is reported on its own.
No sign-up · Unlimited use · No watermark · Runs only in your browser.
TOOLS & GUIDES
Open a popular tool, or browse by what you need to do.
No matching tools. Try “URL”, “Base64”, or “guide”.
URL ENCODE AND DECODE
Keep URL separators intact, encode values once, and match the receiving format.
Encode a single query value with component encoding so characters such as & and = stay inside that value. For a complete URL, preserve its separators and encode only its data parts. To read an encoded string, decode it once as UTF-8.
%20 or +%20 is the percent-encoded UTF-8 byte for a space. A plus sign is a space marker in the form-encoding convention, but in an ordinary URL a literal + can mean plus. To represent an actual plus in form data, encode it as %2B.
| Original value | Percent style | Form style |
|---|---|---|
a b | a%20b | a+b |
a+b | a%2Bb | a%2Bb |
When decoding, treat + as a space only when the data uses form encoding. Otherwise leave it as a plus sign.
q=.Suppose the search text is tea & cake + pie and the URL also needs a separate page parameter. Encode the search text as one component:
Raw value
tea & cake + pie
Encoded value
tea%20%26%20cake%20%2B%20pie
Assembled URL
https://example.com/search?q=tea%20%26%20cake%20%2B%20pie&page=2
The encoded %26 belongs to the phrase. The final literal & separates q from page. If the phrase's ampersand were left raw, a form-style query parser could interpret what follows it as another key/value pair.
You likely encoded the entire address as one component. Its colon, slashes, question mark, and ampersands became data too. Encode each path segment or query name/value separately, then join them with the URL separators.
Encode the ampersand inside the value as %26. Keep the real ampersands that separate query parameters.
%2520This usually means %20 was encoded again: the percent sign became %25. Use the original text, or decode one layer before encoding once for the intended context.
A percent sign must be followed by two hexadecimal digits, such as %20. Check for a truncated escape like %2 or a stray %. Do not silently replace malformed data if exact recovery matters.
Need to inspect an encoded value? Use the URL decoder. For a value-by-value example matrix, see URL encoder online.
Reproduce our decoder checks: PercentURL decoder regression scripts and source code on GitHub.
TROUBLESHOOTING LABS
Reproduce a specific failure with tested examples and runnable code.
Every printable ASCII character and how it looks under percent-encoding. Green = left as-is, blue = encoded. Use the search box to find one.
| Char | Name | Encoded | Handling |
|---|