Encode or decode a URL
Encode or decode a URL component, or paste a full URL to break it down into its protocol, host, path, and query parameters.
Encode a component, decode one, or parse a full URL.
Results update as you type.
The encoded/decoded text, or any individual part of a parsed URL.
Frequently asked
Is my URL or text sent anywhere?
No. Encoding, decoding, and parsing all happen in your browser.
Why does decoding sometimes show an error?
Decoding expects valid percent-encoding (like %20). A stray % not followed by two hex digits, or a broken multi-byte sequence, will fail to decode. Check the input for a partial copy-paste.
What's the difference between this and encoding a whole URL?
This encodes a single component (a query value, a path segment). Encoding an entire URL the same way would also escape the protocol and slashes, breaking it. Use Parse URL to work with a complete URL instead.
Does this work offline?
Yes, once the page has loaded.