Video guide · 18 seconds
Watch: encode and decode URL components
No sound. Each step is captioned on screen and also written out in the guide below.
Data & developer tools Web
Encode text for query parameters or decode a URL component without sending your data anywhere.
Workspace
Spaces, Unicode, and reserved characters are encoded safely.
Your converted value will appear here.
Video guide · 18 seconds
No sound. Each step is captioned on screen and also written out in the guide below.
A quick guide
Encode readable text or decode a percent-encoded value.
Paste content into the input panel. Unicode is supported.
Copy or download the converted value locally.
Example
hello world & café
hello%20world%20%26%20caf%C3%A9URL component encoding keeps a value from being mistaken for URL syntax when placed in a query or path segment.
Good to know
It encodes the full input as one URL component. Use it for query values or path segments; it does not parse a URL into separate parts.
Plus signs are encoded as %2B so they remain literal plus signs when decoded.
The input may contain an incomplete percent escape such as %2. Check that every percent sign is followed by two hexadecimal characters.