UTILS.
100% in-browser
%

URL Encoder / Decoder

Percent-encode strings for safe use in URLs, or decode them back.

output

About this tool

Percent-encode text so it is safe inside a URL query string or path, or decode an encoded URL back to readable text. Uses the browser's own encodeURIComponent/decodeURIComponent for standards-correct results.

Frequently asked questions

What characters get encoded?
Anything that is not safe in a URL — spaces become %20, and reserved characters like ? & = # are escaped.
Why did decoding fail?
A malformed percent sequence (for example a lone % not followed by two hex digits) cannot be decoded.

More tools