Percent-encode or decode text one line at a time. Component mode is for a single value, such as a query parameter; URI mode keeps URL separators such as slashes and question marks. Choosing the correct mode prevents separators inside a value from being mistaken for URL structure.
lightbulb When to use this tool
- check_circle Encode a search term before inserting it as one query parameter.
- check_circle Inspect percent escapes in a copied URL without navigating to its destination.
Inputs and results
Input: Text/URLs, direction, encoding mode and batch option.
Output: Converted text with copy/download.
How it works
Select Encode or Decode.
Choose component encoding for a value, or URI encoding for a complete address.
Paste one value per line and review the output and any line-specific errors.
Check the resulting address in your application; encoding does not validate or make a destination trustworthy.
Examples
science A query value
In component mode, red & blue becomes red%20%26%20blue. Encoding the ampersand prevents it from becoming a new query-parameter separator.
science Avoid double encoding
Encoding an already encoded %20 in component mode produces %2520. Decode or preserve the correct layer instead of repeatedly encoding a whole address.
Limitations
Not validation or encryption. Modes preserve different characters; malformed percent escapes may fail.
Frequently Asked Questions
Does decoding change + into a space? expand_more
Why does a line report a malformed sequence? expand_more
Processing & Privacy
Processing uses your browser rather than uploading the supplied input to a processing server. Fonts and tool libraries can make third-party network requests. Optional analytics loads after consent. See the Privacy Policy for site-wide details.