URL encode / decode

Encode text for a URL, or turn percent-encoded text back into something readable.

For a single query value or path segment. Spaces use %20; a + stays a + when decoding.

0 characters

0 characters

Which mode should I use?

URL component
Use for a single query value or path segment. hello & goodbye becomes hello%20%26%20goodbye.
Whole URL
Keep separators such as ://, ?, and &. Reserved escapes such as %2F stay escaped when decoding.
Form value
Encode one value with the conventions used by form submissions: hello world becomes hello+world.

Text is converted once, exactly as entered. Spaces, line breaks, and Unicode are preserved. Whole URL mode preserves the URL’s structure; it does not validate or open the address.