URL Encoder & Decoder
Percent-encode and decode URLs and query parameters online. Encode a whole URL or a single component. Fast, free, and fully client-side.
// urlencodecomponent○ ready
Plain
Encoded
About this URL encoder & decoder
URLs may only contain a limited set of characters, so spaces, ampersands, and non-English letters must be percent-encoded (for example, a space becomes %20). This tool encodes text for safe use in URLs and query strings, and decodes percent-encoded URLs back into readable text.
When to use which mode
- Encoding a value to drop into
?key=value? Use Component. - Encoding a full link that already has its structure? Use Whole URL.
- Reading an encoded link? Use Decode.
Frequently asked questions
- What is the difference between “Component” and “Whole URL”?
- “Component” (encodeURIComponent) escapes everything that is not safe inside a single value, including &, =, ?, and /. Use it for query-parameter values. “Whole URL” (encodeURI) keeps URL-structure characters intact, so it is for encoding a complete address.
- Why does my decoded text show spaces where + used to be?
- In query strings, + often means a space. The decoder converts + to a space before decoding, matching how form data is typically encoded.
- Is anything uploaded?
- No. Encoding and decoding run entirely in your browser.
// More tools
- JSON FormatterBeautify, minify, and validate JSON with precise error locations.
- Base64 Encoder / DecoderEncode and decode Base64 for text and files, including URL-safe.
- UUID GeneratorGenerate v4 and time-ordered v7 UUIDs in bulk, ready to copy.
- Regex TesterTest regex with live highlighting, capture groups, and flags.
- YAML ValidatorValidate YAML and convert to and from JSON.
- Case ConverterConvert between camelCase, snake_case, kebab-case, and more.
- HTML Entity EncoderEscape and unescape HTML entities and special characters.
- Number Base ConverterConvert between binary, octal, decimal, and hexadecimal.
- Color ConverterConvert colors between HEX, RGB, and HSL with a live preview.
- Unix Timestamp ConverterConvert Unix epoch timestamps to dates and back.
- JWT DecoderDecode a JWT's header and payload with readable claim times.
- Hash GeneratorGenerate MD5, SHA-1, SHA-256, and SHA-512 hashes from text.
- JSON ↔ CSV ConverterConvert JSON to CSV and CSV back to JSON.
- Cron Expression ExplainerTranslate a cron expression into plain English.