Security
URL Encoder / Decoder
Runs entirely in your browser ยท Nothing is sent to our servers
Encode special characters, decode percent-encoded strings, or parse any URL into its components.
Encode mode
Converts unsafe characters into %XX percent-encoded form so the string can travel safely inside a URL. Spaces become %20, & becomes %26, and so on. Use this when building query strings or URL path segments from user input.
Output
How it works
How it works
Percent-encoding (RFC 3986) replaces unsafe characters in URLs with a % followed by two hex digits โ for example, a space becomes %20.
Characters that must be encoded include &, =, ?, #, and spaces. Reserved characters like / and : have special meaning and are only encoded when used as data.
encodeURIComponent encodes everything except unreserved characters (letters, digits, -_.!~*'()). It is the right choice for query parameter values. encodeURI leaves URL structure characters intact and is for encoding a full URL.
Parse mode breaks any URL into its protocol, host, port, path, query string, and individual query parameters.
All processing happens in your browser. No data is sent anywhere.
How it worksโพ
How it works
Percent-encoding (RFC 3986) replaces unsafe characters in URLs with a % followed by two hex digits โ for example, a space becomes %20.
Characters that must be encoded include &, =, ?, #, and spaces. Reserved characters like / and : have special meaning and are only encoded when used as data.
encodeURIComponent encodes everything except unreserved characters (letters, digits, -_.!~*'()). It is the right choice for query parameter values. encodeURI leaves URL structure characters intact and is for encoding a full URL.
Parse mode breaks any URL into its protocol, host, port, path, query string, and individual query parameters.
All processing happens in your browser. No data is sent anywhere.