URL Encoder / Decoder

Percent-encode or decode URLs and query strings — component-safe or full-URI mode.

Input
65
chars
Encoded
91
chars
Decoded
65
chars
Mode
Component
Input
Paste text or a URL
Encoded
https%3A%2F%2Fdnsblade.com%2Fsearch%3Fq%3Dhello%20world%20%26%20tag%3Ddns%20tools%23results
Decoded
https://dnsblade.com/search?q=hello world & tag=dns tools#results

About the URL Encoder / Decoder

The URL Encoder/Decoder converts strings to and from percent-encoded form (RFC 3986). Percent encoding is how URLs safely carry characters that would otherwise be reserved or unsafe — spaces become `%20`, ampersands in a query value become `%26`, and Unicode characters get their UTF-8 bytes encoded byte-by-byte as `%XX` pairs.

Developers hit URL encoding constantly — building query strings by hand, embedding user input in redirect URLs, passing JSON through URL parameters, and debugging why a query parameter is being misinterpreted by a downstream service. This tool exposes both the JavaScript `encodeURIComponent` (encode everything except unreserved chars) and `encodeURI` (preserve URL structure) behaviors, so you can pick the right one for your context.

Common gotchas: encoding an already-encoded value produces double-encoded garbage. Servers behind CDNs and reverse proxies may decode once at the edge and pass a partially-decoded value to the origin. Percent-encoded plus signs (`%2B`) and literal plus signs behave differently in some form-decoders — the difference between path segments and query strings matters here.

How to use this tool
1

Enter the required value in the input field above (domain, IP, URL, or text depending on the tool).

2

Click the action button to run the check — results are computed instantly from our edge network.

3

Review the parsed output, key fields and any warnings shown in the result card.

4

Copy the result, share the page URL, or jump to a related tool from the sidebar to continue debugging.

Key features
  • Both encodeURIComponent and encodeURI variants
  • One-click swap between encode and decode
  • Detects double-encoding
  • Handles Unicode correctly
Related searches: url encoderurl decoderpercent encodingencodeuricomponenturl escapequery string encoder

Frequently asked questions

encodeURI preserves URL structure (doesn't encode `:`, `/`, `?`, `&`, `=`, `#`, `+`). Use it when encoding a whole URL. encodeURIComponent encodes everything except unreserved characters. Use it when encoding a single query parameter value.