Free URL Encoder & Decoder Online
A free URL encoder and decoder: percent-encode URLs or decode them back — two modes, instant.
Free tool · No sign-up · Private
Component mode escapes everything except letters, digits and - _ . ! ~ * ' ( ) — use it for query values and path segments.
Formats & limits
What this tool handles
Straightforward limits, stated plainly.
Two encoding modes
Component mode encodes a single value (like a search query); full URL mode encodes a whole link while keeping its ://, ?, & and = structure valid.
Unicode safe
Non-ASCII characters — Urdu, Arabic, emoji — are encoded as UTF-8 percent sequences, exactly like modern browsers do.
Live conversion
No submit button. The result updates on every keystroke, so you can watch exactly how each character gets encoded.
No length cap
Paste long tracking URLs or giant query strings — the tool handles multi-kilobyte inputs without breaking a sweat.
How it works
Three steps to encoded
Choose encode or decode
Pick Encode to turn plain text into %20-style encoding, or Decode to turn an encoded string back into readable text.
Pick the right mode
Use component mode for query values and path segments, full URL mode when you paste a complete link you want to keep structurally valid.
Copy the result
Conversion happens live as you type. Hit Copy result and paste it into your code, browser, or API request.
Use cases
When URL encoding helps
Build query strings
Search terms with spaces and & characters break links if left raw. Encode the value first, then drop it into ?q=.
Fix broken shared links
A link pasted from chat may contain raw spaces or brackets. Encode it properly and it becomes clickable everywhere.
Debug redirects
OAuth and payment callbacks carry encoded URLs inside URLs. Decode the outer layer to see where the inner link actually points.
Read tracking links
Marketing emails wrap destinations in encoded tracking URLs. Decode to verify the real destination before clicking.
API parameters
REST APIs often require encoded parameters in the URL path. Generate them here instead of guessing the escape rules.
FAQ
URL encoding questions
What's the difference between component and full URL mode?
Why do spaces show up as %20?
When do I need to decode a URL?
Is my URL uploaded anywhere?
What if decoding shows garbage characters?
Keep exploring
Related tools
Encode text to Base64, decode it back, or turn files into data URIs.
Open tool →FreeConvert HTML to entities and entities back to readable text.
Open tool →DevFormat, validate, and minify JSON.
Open tool →For developers
Need this programmatically?
YATools also exposes simple REST APIs for screenshots, audio, documents, and more — free tier included.