URL Encoder & Decoder
Percent-encode parameters or whole URLs — and decode them back.
In
Out
https%3A%2F%2Fsumly.cc%2Fsearch%3Fq%3Dunit%20converter%26lang%3Den
How URL Encoder & Decoder works
The Component scope escapes everything that could be mistaken for URL structure — :/?#[]@!&'()*+,;= all become %XX — which is what each query value or path segment needs.
The Full URL scope keeps structural characters (: / ? & =) so a complete URL stays navigable, escaping only the content inside it, like spaces and non-ASCII text.
Decoding runs decodeURIComponent inside a try/catch: a stray % that isn't part of a valid pair is reported as an error instead of crashing your app with a URIError.
Worked example
The preloaded search URL encodes at Component scope to https%3A%2F%2Ftooldeck.example%2Fsearch%3Fq%3Dunit%20converter%26lang%3Den (56 → 73 characters), while Full URL scope keeps the path readable and escapes just the space: q=unit%20converter.
The tool above opens with these numbers. Change them to run your own scenario, or press Reset to come back to this example.
Frequently asked questions
Related tools
Encode and decode Base64 safely — UTF-8 correct, URL-safe optional.
Generate RFC 4122 v4 UUIDs in bulk, with formatting options.
SHA-256, SHA-384, SHA-512 and SHA-1 digests, computed locally.
Validate, beautify and minify JSON with precise error messages.
Test patterns against live text with matches and groups listed.
Decode, inspect claims, and check expiration on JSON Web Tokens locally.
- url
- uri
- encoding
- percent-encoding
- developer