URL Encode & Decode
Percent-encode text and links so they’re safe in a URL, or decode %20 and other escapes back to readable text. Fix double-encoded links and see every query parameter at a glance.
URL breakdown
Values are shown decodedQuery parameters
| Name | Value |
|---|
How to Use the URL Encoder & Decoder
Make text safe to put in a link, or turn encoded links back into something you can read.
Choose Encode or Decode
Pick Encode to make text URL-safe, or Decode to read an encoded link.
Paste your text or URL
Type or paste — the result updates as you type.
Pick the right mode
For encoding, choose Component, Full URL, Form data or RFC 3986. For decoding, choose how to treat + signs.
Copy or inspect
Copy the result, or use the URL breakdown to read the host, path and every query parameter.
Modes
4 encoding modes
Double-encoded
Fixed automatically
Parser
Query parameters table
Unicode
Full UTF-8 support
Batch
Line by line
Speed
Live conversion
Privacy
Nothing uploaded
Price
100% free
URL Encoder & Decoder Features
More than a simple encoder — everything you need to work with URLs.
Four encoding modes
Component (encodeURIComponent), Full URL (encodeURI), Form data with + for spaces, and strict RFC 3986 for APIs and OAuth.
Fixes double-encoding
Links like %2520 are decoded until they’re readable, and the tool tells you how many times they were encoded.
Never breaks on bad input
A stray % or broken UTF-8 doesn’t stop decoding — invalid parts are kept as they are and counted.
URL breakdown
See the protocol, host, port, path and fragment of any link, plus a table of every query parameter, decoded.
Copy any parameter
Copy a single query value — a redirect URL, a token or a UTM tag — in one click.
Every language
Non-English letters and emoji are encoded as UTF-8, exactly as browsers and servers expect.
Line by line
Encode or decode a list of values, one per line.
Swap
Send the result back as input to check that encoding and decoding round-trip correctly.
Private by design
Everything runs in your browser. Your URLs are never uploaded or logged.
Common URL-Encoded Characters
The percent codes you’ll see most often in links.
| Character | Encoded | Character | Encoded |
|---|---|---|---|
| space | %20 (or + in forms) | & | %26 |
| ! | %21 | ' | %27 |
| # | %23 | ( | %28 |
| $ | %24 | ) | %29 |
| % | %25 | + | %2B |
| , | %2C | / | %2F |
| : | %3A | ; | %3B |
| = | %3D | ? | %3F |
| @ | %40 | é | %C3%A9 |
Which Encoding Mode Should You Use?
Each mode encodes a different set of characters. Here’s when to use each one.
| Mode | Keeps | Use it for |
|---|---|---|
| Component | Letters, digits and - _ . ! ~ * ' ( ) | A single query value or path segment — the most common choice |
| Full URL | Also ; / ? : @ & = + $ , # | Cleaning a complete link without breaking its structure |
| Form data | Letters, digits and * - . _ (spaces become +) | HTML form submissions and application/x-www-form-urlencoded bodies |
| RFC 3986 | Letters, digits and - _ . ~ | OAuth signatures, AWS and other strict APIs |
What Can You Use It For?
Everyday URL tasks for developers, marketers and SEOs.
Build links
Safely add search terms, names or emails to a URL.
Campaign links
Read and fix UTM parameters in tracking links.
Redirect URLs
Decode return_url and redirect parameters to see where they go.
APIs
Encode query values and OAuth signature strings correctly.
SEO audits
Make messy, encoded URLs readable in reports.
Email links
Build mailto: links with an encoded subject and body.
Debugging
Find double-encoding and broken escapes in logs.
International URLs
Encode links with non-English characters.
Tips for Working With URLs
- Encode values, not whole URLs. Use Component for each value, then join them with & and =.
- Spaces: %20 or +? Use %20 in paths. + only means a space in query strings and form data.
- Watch for %25. %25 is an encoded % sign — %2520 means the text was encoded twice.
- Don’t encode twice. Encode each value once, just before you add it to the URL.
- Check redirect parameters. Decode them before clicking to see where a link really goes.
- Use RFC 3986 for signatures. OAuth 1.0 and AWS signatures need the strict mode.
Private by Design
Everything happens in your browser. What you paste and any files you open are never sent to Toolszu or anyone else, and nothing is stored.
That matters for developer tools: tokens, keys and links often contain sensitive data. Here they stay on your device.
Frequently Asked Questions
Answers about URL encoding, decoding and percent-encoding.
URL encoding, also called percent-encoding, replaces characters that aren’t allowed in a URL with a % sign and two hex digits. For example, a space becomes %20 and & becomes %26, so the URL keeps its meaning.
Click Decode and paste the URL or encoded text. Percent codes like %20 and %3A are turned back into normal characters, and the URL breakdown shows every query parameter decoded.
%20 is an encoded space. In query strings and form data, a space can also be written as +.
encodeURI encodes a full URL but keeps characters like : / ? & = that structure it. encodeURIComponent also encodes those characters, so it’s the right choice for a single value you put inside a URL.
Use %20 in the path and generally in URLs. A + only means a space in query strings and HTML form data (application/x-www-form-urlencoded). The Form data mode uses +.
Double encoding happens when already-encoded text is encoded again, so %20 becomes %2520. With “Fix double-encoding” on, the decoder keeps decoding until the text is readable and tells you how many times it was encoded.
Many decoders stop at a lone % or broken UTF-8 bytes. This tool decodes everything it can and leaves invalid sequences unchanged, then tells you how many it found.
Paste a full URL in either mode. The URL breakdown shows the protocol, host, port, path and fragment, plus a table of every query parameter with its decoded value.
Yes. Characters are encoded as UTF-8 bytes, so é becomes %C3%A9 and emoji become four percent codes — exactly what browsers and servers expect.
No. URL encoding only replaces unsafe characters with %XX codes and keeps the rest readable. Base64 rewrites all of the data with a 64-character alphabet.
No. Encoding and decoding happen in your browser. Your text and URLs never leave your device.
Yes, it’s completely free with no sign-up and no limits.
Related Free Tools
Encode or Decode a URL Now
Paste your text or link and convert it instantly. Free, private and no sign-up.
Start Now