URL Encode / Decode
Percent-encode or decode URL components — privately in your browser.
Your files never leave your device
Uses encodeURIComponent / decodeURIComponent — good for query values and path segments (not the same as full URL parsing).
Output
hello%20world%20%26%20q%3D1
How It Works
Step 1
Paste a string
Use plain text or already-encoded percent sequences.
Step 2
Encode or decode
Switch modes to apply component encoding or decoding.
Step 3
Copy for APIs
Copy the result for query strings, redirects, or logging.
Frequently Asked Questions
encodeURIComponent is for pieces of a URL (e.g. a query value). Encoding an entire URL can break the scheme and slashes — use a URL parser when you need that.
No. Everything runs locally in your browser.