URL Encoder / Decoder
Percent-encode text for a URL or decode %-escaped links back into readable text — as you type. Pick the right encoding for a parameter, a whole URL or form data, and edit query parameters in a table.
At a glance
- Three encodings for three jobs: parameter value (encodeURIComponent), whole URL (encodeURI) and form data (application/x-www-form-urlencoded, spaces as +).
- Encodes text as UTF-8, so Hindi, other Indian scripts, ₹ and emoji become the %E0%A4… sequences every browser and server understands.
- The decoder turns %20 and + back into spaces and shows exactly where an invalid sequence like “50%off” or broken UTF-8 is.
- Spots double encoding (%2520) and decodes again with one click.
- Paste a full URL to see its host, path, fragment and every query parameter decoded in a table — edit, add or remove parameters and copy the updated URL.
- Optional strict RFC 3986 mode and line-by-line conversion. Everything runs in your browser.
Step by step
How to encode or decode a URL
- 1
Choose Encode or Decode
Pick Encode to make text safe for a URL, or Decode to read an encoded link.
- 2
Pick what you’re encoding
Use Parameter value for a single value, Whole URL for a complete link, or Form data for form posts.
- 3
Paste your text
The result appears as you type. Problems are pointed out with the exact character.
- 4
Copy or edit
Copy the result, or edit the query parameters in the URL parts table and copy the updated URL.
Features
Everything you need, nothing you don’t
Live, both ways
Results update as you type. Switch between Encode and Decode and the result carries over.
Right encoding, explained
Each mode says when to use it, so a URL doesn’t break because its slashes or ampersands were encoded.
Clear errors
Instead of “URIError: malformed URI”, see which character is wrong and why.
Query parameter editor
Read long tracking URLs at a glance, fix a value, remove a parameter, and get a correctly encoded URL back.
Batch mode
Turn on Each line separately to encode or decode a whole list of values or URLs at once.
Private
URLs with tokens or personal data never leave your device.
Which encoding should I use?
| You have | Use | Example |
|---|---|---|
| A value for ?q= or a path segment | Parameter value | chai & samosa → chai%20%26%20samosa |
| A complete URL with spaces or Hindi | Whole URL | https://x.in/a b → https://x.in/a%20b |
| Data for an HTML form or POST body | Form data | chai & samosa → chai+%26+samosa |
Common percent-encodings
| Character | Encoded | Character | Encoded |
|---|---|---|---|
| space | %20 (or + in forms) | & | %26 |
| / | %2F | = | %3D |
| ? | %3F | # | %23 |
| % | %25 | + | %2B |
| @ | %40 | ₹ | %E2%82%B9 |
FAQ
Frequently asked questions
What is URL encoding?
Should a space be %20 or +?
What’s the difference between encodeURI and encodeURIComponent?
Why does decoding fail with “malformed URI”?
What is double encoding?
Is my URL sent anywhere?
Keep going
Related tools
UTM Builder
Build UTM campaign links for Google Analytics 4: presets for WhatsApp, Instagram, email and ads, the GA4 channel each lands in, and a QR code for it.
JSON Formatter & Validator
Format, validate, minify and repair JSON online. Get the exact line and column of every error, a collapsible tree view and sorted keys — private, in-browser.
UUID Generator
Generate UUIDs (GUIDs) online: random v4, sortable v7, v1, and name-based v5 and v3 — one or 10,000 at a time. Also decode and validate any UUID.
DNS Lookup
Free DNS lookup: check A, AAAA, CNAME, MX, NS, TXT, SOA and CAA records of any domain, see SPF and DMARC, and do reverse DNS for an IP address.
XML to JSON Converter
Convert XML to JSON and JSON to XML online. Keeps attributes, arrays and leading zeros intact, shows exact error lines and never uploads your data.
DNS Propagation Checker
Check DNS propagation worldwide: see the A, CNAME, MX, NS or TXT answer from 7 public DNS networks and 18 ISPs in 15 countries, and track the change.
Last updated Report a problem or suggest a feature