Free, no sign-up
URL Encode / Decode
Decode or encode a URL as you type. Plus signs, stray percent signs and double encoding are handled clearly.
Free, no sign-up.
- Plus signs done rightChoose %20 or + for spaces, and form data decodes + back to a space.
- Bad codes stay visibleA stray % is marked and left as is, so the rest of your text still decodes.
- Query strings as a tablePaste a URL and see each key and value decoded, ready to copy.
Output
Quick reference
| Character | Encoded |
|---|---|
| Space | %20 |
| ! | %21 |
| # | %23 |
| $ | %24 |
| % | %25 |
| & | %26 |
| Character | Encoded |
|---|---|
| ' | %27 |
| ( | %28 |
| ) | %29 |
| * | %2A |
| + | %2B |
| , | %2C |
| Character | Encoded |
|---|---|
| / | %2F |
| : | %3A |
| ; | %3B |
| = | %3D |
| ? | %3F |
| @ | %40 |
/url-encode-decode
How it works
Percent-encode or decode URL strings and query parameters. Supports full URL encoding and component encoding. Form encoding with + is supported too.
- 1
Paste your text or URL into the input area.
- 2
Decode is on by default and the result updates as you type.
- 3
To encode, switch to Encode and choose Component, Full URL or Form.
- 4
Paste a full URL to see its query parameters in a table.
Frequently Asked Questions
Answers about URL Encode / Decode.
What is URL encoding?
URL encoding (percent-encoding) replaces special characters with a % followed by their hex code, for example, a space becomes %20 and & becomes %26. This is required for characters that have special meaning in URLs.
What is the difference between Component, Full URL and Form?
Component (encodeURIComponent) encodes everything including /, ?, = and &. Use it for one query value. Full URL (encodeURI) keeps the URL structure and encodes only unsafe characters. Form turns spaces into + as HTML forms do.
When should I use URL encoding?
Encode query parameter values before appending to URLs, when passing URLs as parameters, or when embedding special characters in href attributes. Always decode before displaying or processing.
Does this work with unicode characters?
Yes. Characters like emoji and accented letters are first UTF-8 encoded and then percent-encoded, which is the correct result for modern URLs.
Why does + turn into a space?
In form data and many query strings, + stands for a space. Turn on Read + as a space to decode it that way, or turn it off to keep the +.
What happens with a stray % sign?
Text like 100% or a broken code can't be decoded. The tool leaves it as is, marks it, and decodes the rest.
Why is my URL still encoded after decoding?
It was probably encoded twice. Press Decode again to remove the next layer.