URL Encoder/Decoder
Encode and decode URL strings with proper escaping
Percent-encode text so it's safe to drop into a URL, or decode an encoded string back to readable characters. Essential when building query strings, passing parameters with spaces or special symbols, or figuring out what an encoded link actually points to.
How to use URL Encoder/Decoder
- Paste the text or URL component you want to convert.
- Choose whether to encode or decode it.
- Read the converted result instantly.
- Copy the encoded or decoded value into your link or code.
Frequently asked questions
What's the difference between encodeURI and encodeURIComponent?
encodeURIComponent escapes more characters and is meant for individual values like query parameters, while encodeURI is for whole URLs and leaves structural characters such as / and ? intact.
Why is a space sometimes %20 and sometimes +?
In URL paths and most components a space becomes %20, but in form-encoded query strings it is often represented as a plus sign. Choose the encoding that matches where the value will be used.
Does decoding handle multi-byte characters?
Yes. UTF-8 percent sequences are decoded back into the correct Unicode characters, including emoji and non-Latin scripts.
Related Encoders & Decoders tools
- Base64 Encoder/Decoder: Encode and decode Base64 strings for data transmission
- Hash Generator: Generate various hash types (SHA-256, MD5, etc.)
- AES Encryption/Decryption: Encrypt and decrypt data using AES encryption