URL Encoder / Decoder
Encode or decode URL component text safely.
Encode or decode URL component text safely.
The URL Encoder / Decoder uses the browser’s URL component encoding rules. Encoding replaces characters that need escaping inside a URL component with percent-encoded sequences, while decoding converts those sequences back into readable text.
For related tasks, try Base64 Encoder / Decoder, HTML Entity Encoder / Decoder or JSON Formatter & Validator.
A space in “hello world” is encoded as %20, producing “hello%20world” when processed as a URL component.
It uses component encoding, so characters such as : and / are encoded too. Use it for query values, path components or individual pieces rather than blindly encoding an entire URL.
It represents certain bytes with a percent sign followed by hexadecimal digits.
Yes. Malformed percent sequences can produce an error.