Encoding a search query
Prepare a phrase with a space for use as a query parameter.
blue shoesblue%20shoesEncode or decode URI components for query strings, form values, and path segments in your browser.
Encode or decode URI components for query strings and path segments.
Paste a value to encode or decode.
One tap, no account. Your vote is saved in this browser and counted in our site analytics.
Uses JavaScript's encodeURIComponent/decodeURIComponent so query parameters, form values, and path segments come out exactly as browsers and servers expect.
Plus signs are automatically treated as spaces during decode, matching the application/x-www-form-urlencoded convention used by HTML forms.
Malformed percent-encoded sequences produce a clear, readable error message instead of a cryptic thrown exception.
Every conversion runs in your browser's JavaScript engine, with no network request sent for the text you type.
Choose the direction based on whether you have raw text to protect, or a percent-encoded string to read.
Enter the raw text, query value, or already-encoded string you want to convert.
Check the converted output along with input and output character counts to confirm nothing was truncated or misinterpreted.
Copy the encoded or decoded value directly into your URL, HTTP client, curl command, or source code.
Safely encode search terms, filter values, or redirect URLs before appending them to a link.
Decode a suspicious-looking URL from logs or browser history to see the real parameter values behind the percent signs.
Quickly decode form-encoded or query-string parameters captured from API requests during debugging.
Encode arguments before pasting them into curl commands or shell scripts that expect URL-safe text.
Prepare a phrase with a space for use as a query parameter.
blue shoesblue%20shoesEscape characters that would otherwise be interpreted as URL syntax.
a&b=ca%26b%3DcConvert a value posted from an HTML form back to readable text.
hello+world%21hello world!All encoding and decoding runs locally in your browser's JavaScript engine. ToolMint never receives, logs, or stores the values you type, which makes it safe to use even for parameters that contain internal identifiers.
A URL encoder/decoder converts text to and from percent-encoded URI component form using the same algorithm browsers use for encodeURIComponent and decodeURIComponent. Reserved and non-ASCII characters are replaced with a % followed by their hexadecimal byte value so the result is safe to embed in a URL.
Developers frequently need to prepare query parameters, debug malformed redirect URLs, or inspect webhook payloads that arrive percent-encoded. Doing this by hand or in a browser console is slow; a dedicated tool with clear error handling makes the round trip fast and less error-prone.
This tool targets URI component encoding specifically - it is not a full URL parser, does not validate URL structure, and does not perform HTML entity escaping. Very unusual or already-mixed encodings may require more than one decode pass.
URL Encoding Explained: Percent Signs, Plus Signs, and Double Encoding
How percent-encoding works, when to use encodeURIComponent versus encodeURI, why spaces sometimes become plus signs, and how to spot double-encoded URLs.
Convert CSV to JSON Without Breaking Your Data
Why CSV to JSON conversions go wrong - quoted commas, line breaks inside cells, delimiters, and lost leading zeros - and how to check the output before it reaches your app.
Seven Regex Mistakes That Break JavaScript Code
Unescaped dots, missing anchors, greedy matches, the stateful g flag, and catastrophic backtracking - what each mistake looks like and how to test for it before it ships.
Developer
Format and validate JSON instantly.
Updated Jul 20, 2026
Developer
Check JSON syntax and inspect structure locally.
Updated Jul 20, 2026
Developer
Format and minify SQL instantly.
Updated Jul 20, 2026
Developer
Format and minify HTML instantly.
Updated Jul 20, 2026
See every utility on the all tools page.
Found a problem or missing feature? Tell us - no account required.
Last updated: