URL encode / decode
Turn unreadable %E3%81%82-style addresses back into text, or encode text for use in a URL.
Encoded
Decoded
Query parameters
How to use
- Enter a URL or text; the encoded and decoded results appear together.
- Turn on "whole URL" to keep the URL structure; leave it off for a single value.
- If there is a ?, the query parameters are listed in a table.
Questions
What is the difference between the two modes?
The default (encodeURIComponent) encodes & = ? / too, for values such as search terms. "Whole URL" (encodeURI) keeps the characters that give a URL its structure.
Is + a space?
In form data and many query strings, yes. In a path it can be a literal +, so it is an option.
How is non-ASCII text encoded?
As UTF-8 bytes, each written as %XX; a Korean or Japanese character is usually three bytes.
What about legacy encodings?
Only UTF-8 is decoded for now.
Is my input uploaded?
No. It is converted in your browser.
Related tools
- Password generatorStrong random passwords from your browser's cryptographic random generator. Choose length and character sets.
- Unix timestamp converterUnix timestamps (seconds or milliseconds) to dates in several time zones, and dates back to timestamps.
- Base64 encode / decodeEncode text to Base64 and decode Base64 back to text, with full UTF-8 (Korean, Japanese, emoji) and URL-safe output.
- JSON formatter & validatorPretty-print or minify JSON, sort keys, and see exactly which line and column a syntax error is on.
- UUID generatorGenerate UUID v4 (random) or v7 (time-ordered) in bulk, upper or lower case, with or without hyphens.