URL Encoder and Decoder — Components and Full URLs
Developer Tools
About This Tool
Encode URL parameter values with encodeURIComponent or preserve URL separators with encodeURI. Decode percent-encoded text and copy the result.
How to Use
- Paste text into the plain-text field.
- Choose encodeURIComponent for a value or encodeURI for a full URL.
- To decode, paste percent-encoded text into the encoded field and click Decode.
- Check and copy the result.
Choose what to encode
Use encodeURIComponent for a query parameter value. Use encodeURI for a whole URL when its separators should remain intact. For example, a b&c becomes a%20b%26c as a component. Conversion runs when you click a button; there are no live byte counters or hex inspection panels.
Decode and check errors
Decode uses decodeURIComponent. A plus sign remains a plus sign; this is not form decoding that replaces + with a space. Malformed sequences such as %ZZ show an error and leave the existing destination text unchanged. Repeated encoding changes % into %25, so avoid encoding an already encoded value unintentionally.
Limits
These are native JavaScript encoding functions, not encryption, link safety checks or a full URL validator. Some characters such as ! remain unchanged by encodeURIComponent; this is not a strict RFC 3986 escaping mode. The tool does not open the entered address. Shared site services are explained in the privacy policy.
Frequently Asked Questions
Which encode button should I use?
Does decoding turn + into a space?
Is URL encoding encryption?
Guides & Tutorials
In-depth guides for every tool. Learn how to process your data privately, for free, right in your browser.
Read more