URL Batch Encoder/Decoder
Encode or decode many URLs at once, with the component rules that decide which characters change.
Last reviewed by the Radiatus Cloud team
Need this done properly for your business?
Radiatus delivers secure cloud, DevOps & compliance engineering.
Encoding a whole URL is not encoding a parameter
Two different jobs. Encoding an entire URL must preserve the structural characters — the colon, slashes, question mark and ampersands — or the result stops being a URL. Encoding a value that goes inside a parameter must escape those same characters, because there they are data rather than structure. In JavaScript this is the difference between encodeURI and encodeURIComponent, and choosing wrong breaks either the URL or the value.
Double encoding is the classic bulk failure
Running an already-encoded list through an encoder turns %20 into %2520, because the percent sign itself gets escaped. In a batch this happens silently to every row. Checking whether input already contains percent sequences before encoding is worth doing, since the damage is invisible until a link is clicked.
Spaces have two encodings
A space is %20 in a path and may be + in a query string under the form-encoded convention. Decoders differ on whether they translate a literal plus back into a space, which is why a search term containing a plus sign sometimes arrives as a space and sometimes intact.
Non-ASCII must be UTF-8 first
Percent-encoding operates on bytes, so a character is converted to UTF-8 and each byte escaped. An é becomes %C3%A9, two bytes and two sequences. Encoding from a different character set produces sequences that decode into mojibake rather than failing outright.
Reserved characters and consistency
Hyphen, underscore, full stop and tilde are unreserved and never need encoding. Encoders differ on the tilde, and while both forms are valid, inconsistency matters when URLs are compared, deduplicated or signed — two spellings of the same address will not match.
Related tools
- User Agent Parser — Parse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
- QR Code Generator — Generate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
- Credit Card Validator — Validate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.
- Text Case Converter — Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case and sentence case. Runs entirely in your browser.
Frequently Asked Questions
What is the difference between encoding a URL and a parameter?
Encoding a whole URL preserves structural characters like slashes and ampersands; encoding a parameter value must escape them, because there they are data rather than structure.
What causes double encoding?
Running already-encoded input through an encoder, which turns %20 into %2520 by escaping the percent sign. In a batch it happens silently to every row.
Is a space %20 or a plus?
Both, in different contexts. %20 in a path, and + under the form-encoded convention in query strings. Decoders differ on translating a literal plus back to a space.
How are accented characters encoded?
Converted to UTF-8 first, then each byte escaped, so é becomes %C3%A9. Encoding from another character set produces sequences that decode to mojibake.
Privacy & Security
Processing done locally.
About This Tool
This tool runs entirely in your browser. No data is sent to any server, ensuring complete privacy. Simply use the interface above to get started — no registration or login required.
Disclaimer: This tool is provided "as is" without warranty of any kind. Results are for educational and utility purposes.
Related Tools
User Agent Parser
UtilityParse a User-Agent string into browser, engine, operating system and device. Explains why UA strings are unreliable and what to use instead.
QR Code Generator
UtilityGenerate QR codes for URLs, text, Wi-Fi and contact details. Adjustable error correction and size, produced entirely in your browser.
Credit Card Validator
UtilityValidate a card number with the Luhn algorithm and identify the issuing network from its prefix. Runs locally, nothing is transmitted.