🏠 Home — All Tools🔢 Word Counter📊 Character Counter🔡 Case Converter📝 Lorem Ipsum🔗 Slug Generator📰 Blog✉️ Contact
🌐

URL Encoder / Decoder

Percent-encode text for safe use in URLs and query strings, or decode encoded URLs back to readable text.

✓ Free ✓ Instant ✓ No Signup
Result
Result will appear here...

Why URLs need encoding

URLs can only contain a limited set of characters. Spaces, ampersands, question marks and non-English letters must be percent-encoded to travel safely inside a web address. A space becomes %20 and an ampersand becomes %26.

Developers use URL encoding when building query strings, API requests and links that contain user-supplied text.

Common encodings

💡 Tip: Encode individual parameter values rather than an entire URL, otherwise the slashes and colons in the address itself will be encoded too.

Frequently Asked Questions

What is the difference between encoding and decoding?
Encoding converts special characters into percent codes. Decoding converts the codes back into readable characters.
Why do I get an invalid encoding error?
A lone percent sign or an incomplete code such as %2 cannot be decoded.
Is my text saved or sent to a server?
No. Everything runs locally in your browser with JavaScript. Your text never leaves your device and we never see it.

Related Tools