How to use it
This tool encodes a component, such as a query parameter value. It also escapes URL separators such as /, ?, & and =. For a whole URL, encode its parameter values individually. Enable the plus option only for form-encoded input.
Encode or decode a URL component in your browser. Handle spaces, symbols and Unicode without sending your text to a server.
● Text stays on your deviceThis tool encodes a component, such as a query parameter value. It also escapes URL separators such as /, ?, & and =. For a whole URL, encode its parameter values individually. Enable the plus option only for form-encoded input.
Your input and output stay in this browser. No account, upload or server processing is required.
Paste only the component you need to encode and select Encode Text. To reverse percent-encoding, use Decode Text. Turn on the plus option only when decoding form-encoded data.
The value red & blue becomes red%20%26%20blue. In a URL such as ?colour=red%20%26%20blue, the encoded ampersand stays inside the value instead of starting another query parameter.
Encoding an entire https:// address also escapes its separators, so it will no longer behave like an ordinary navigable address. Percent-encoding is reversible and does not encrypt secrets or make an unsafe URL trustworthy.
A stray percent sign, incomplete escape or invalid encoded byte sequence can fail decoding. Check that the input is the complete encoded component and has not been truncated.
No. Form encoding can use + for a space, while a literal plus in a normal component is meaningful text. Leave the option off unless you know the source uses form encoding.
Continue your workflow: JSON Formatter & Validator or Free QR Code Generator - Download PNG.
Need help or found an incorrect result? Report a tool issue. Read how files and text are handled.