Tool · How to use · FAQ · Related tools
How to use
- Paste a full URL, a query value, or any text into Input.
- Click Encode to percent-encode (safe for query values & path segments), or Decode to reverse it.
- Use Copy Output to copy the result.
- Shortcuts: Ctrl/⌘+Enter = Encode, Shift+Enter = Decode.
Tips
-
For full URLs, use
encodeURI
-style behavior (this tool’s Encode usesencodeURIComponent
for components; see FAQ). -
On Decode,
+
is treated as space for legacyapplication/x-www-form-urlencoded
data. -
If you see a “Decode error”, your text may contain an invalid
percent sequence (e.g. a dangling
%
). - Unicode and emoji are fully supported.
FAQ
What’s the difference between encodeURI and encodeURIComponent?
encodeURIComponent
is for individual components (like
query values or path segments) and escapes more characters.
encodeURI
is for full URLs and leaves reserved
characters like :
/
?
&
=
intact.
Can I paste a full URL and still use Encode?
Yes, but if you only need to encode a parameter value, encode just the value, not the whole URL—otherwise reserved URL characters may be over-encoded.
Why does plus (+) decode to space?
In application/x-www-form-urlencoded
form data,
+
represents a space. This tool converts
+
to spaces before decoding to be helpful.
Where can I format JSON or Base64 encode text?
Use the JSON Formatter or Base64 tools. See Related tools for links.
Related tools
More text & encoding utilities:
JSON Formatter Base64 Encode/Decode Text Utilities SHA-256 Hash
Prefer বাংলা? Try the বাংলা সংস্করণ.