URL Encoder & Decoder
Turn special characters into percent-encoded form, or decode a URL back to readable text. Component and full-URL modes handle different escaping rules correctly.
Free Runs locally No signup
Input
Output
The result will appear here.
Nothing to convert yet.0 chars
How to use it
1
Pick a mode
Use Component for query values and Full URL for complete links.
2
Paste your input
Drop text or an encoded URL into the input box.
3
Convert and copy
Switch direction, then copy or download the result.
Why use this tool
Correct UTF-8 encoding
Chinese characters, emoji and spaces are encoded to their UTF-8 percent form.
Two escaping modes
encodeURIComponent for values and encodeURI for whole URLs.
Handles malformed input
Invalid percent sequences are reported instead of silently producing garbage.
Frequently asked questions
What is percent encoding?
Percent encoding replaces unsafe characters with a % sign followed by two hexadecimal digits, as defined in RFC 3986.
Component or full URL mode?
Component mode escapes reserved characters like / and ?, while full URL mode keeps the structure of a complete link.
Why does a space become %20?
A space is not allowed in a URL, so it is encoded as %20. In form data it may also appear as a plus sign.
Can I decode a URL safely?
Yes. Decoding happens locally, and invalid sequences produce an error rather than a corrupted string.
Does it handle Chinese?
Yes. Text is converted to UTF-8 bytes before percent encoding, so Chinese and emoji round-trip correctly.
Related tools
Developer Tools Base64 Encoder & Decoder Encode text to Base64 or decode Base64 back to text, with full UTF-8 and URL-safe support. Runs locally in your browser — no upload, no signup. Developer Tools JSON Formatter & Validator Format, validate and minify JSON in your browser. Choose 2 or 4-space indentation, sort keys, and copy the result instantly. Free, private, no signup. Developer Tools JWT Decoder Decode a JSON Web Token to inspect its header, payload, signature and expiry claims. Nothing is uploaded and no signature is trusted. Developer Tools Hash Generator Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes from text in your browser. Compare digests and copy them instantly. Developer Tools JSON to CSV Converter Convert JSON arrays to CSV and CSV back to JSON in your browser. Handle quotes, delimiters and nested values, then copy or download the result. Developer Tools Unix Timestamp Converter Convert Unix timestamps to readable dates and back. Supports seconds and milliseconds, UTC and your local time zone, with a live current timestamp.
Last updated: