URL encoder, decoder and parser
Percent-encode or decode text for URLs, and split any URL into its parts with the query parameters laid out as a table.
Runs in your browserNothing uploadedWorks offline
Loading URL encoder, decoder and parserRuns on this device. Nothing is uploaded.
Questions
Component or whole URL: which should I pick?
Use Component for a single value going into a query string or path segment: it encodes & = ? / and more. Use Whole URL to clean up spaces and accents in a full link while keeping its structure.
Should spaces be + or %20?
HTML forms send spaces as + in query strings (application/x-www-form-urlencoded). Everywhere else %20 is the safe choice. Turn on Spaces as + only for form style data.
Why do I get a broken percent sign error?
In a URL a % must be followed by two hex digits. A plain % such as 100% has to be written as 100%25.
Related tools
All developer toolsDeveloperBase64 encode and decodeEncode text or any file to Base64 and decode Base64 back to text or the original file, with a URL-safe option.DeveloperBinary to decimalConvert binary numbers of any length to decimal, with hex and octal shown too, exactly and as you type.Developerapplication image videoChecksum verifierDrop a file and paste the published checksum to see if it matches. MD5, SHA-1, SHA-256, SHA-384, SHA-512 and CRC32 are detected for you.DeveloperChmod calculatorTick read, write and execute boxes or type 755 or rwxr-xr-x, and get the matching octal, symbolic and chmod command, explained.DeveloperCIDR and subnet calculatorType an IP with a prefix or mask to get the network, broadcast, host range, host count, netmask and wildcard. IPv6 works too.Developerjs mjs cjsCode formatterFormat HTML, CSS, JavaScript, TypeScript, JSON, Markdown and YAML with Prettier, right in your browser, with indent and quote options.