URL Encoder/Decoder
Percent-encode and decode strings for safe URLs.
Input
Output
encodeURIComponent encodes query values; encodeURI leaves URL structure characters like : / ? #
In-depth explanation
Percent-encode strings for query parameters and path segments, or decode encoded URLs back to readable text. Everything runs locally in your browser — your inputs are not uploaded to produce the result.
Component encoding (default) escapes more characters — use it for query values. Full URI encoding leaves reserved characters like / and ? intact. On decode, + is treated as a space (common in form-encoded query strings).
Encoding runs locally in your browser. Tweak the inputs above to compare options, then copy or note the result you need.
Frequently asked questions
Related tools
Explore similar utilities you might find useful next.
