URL Encoder / Decoder
Percent-encode or decode URLs and query strings — component-safe or full-URI mode.
https%3A%2F%2Fdnsblade.com%2Fsearch%3Fq%3Dhello%20world%20%26%20tag%3Ddns%20tools%23results
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.
Enter the required value in the input field above (domain, IP, URL, or text depending on the tool).
Click the action button to run the check — results are computed instantly from our edge network.
Review the parsed output, key fields and any warnings shown in the result card.
Copy the result, share the page URL, or jump to a related tool from the sidebar to continue debugging.
- Both encodeURIComponent and encodeURI variants
- One-click swap between encode and decode
- Detects double-encoding
- Handles Unicode correctly
Frequently asked questions
Related tools
Convert & validate YAML and JSON configs.
Image & file to Base64 and Data URI generator.
Visual editor for Markdown & HTML tables.
HEX ↔ RGB ↔ HSL with WCAG contrast checker.
Pretty-print, validate & minify JSON.
Live JavaScript regex playground.