URL Encoder/Decoder

Percent-encode or decode a URL, path, or query string. Toggle between full URL encoding and single-component encoding.

Input
Output

About this tool

URL encoding (percent-encoding) replaces characters that aren't safe inside a URL — spaces, ampersands, question marks, non-Latin characters, and more — with a % followed by their hex byte value, so the URL stays a single unambiguous token. This tool covers both encoding directions: encodeURIComponent (checked by default) escapes every reserved character, ideal for encoding a single query parameter value; unchecking it uses encodeURI, which leaves characters like /, :, and ? untouched, ideal for encoding a whole URL that should keep its structure.

Version 1.0.0