Encode or decode URLs and text line by line. Spot double encoding, break any URL into its parts and strip tracking codes like UTM, fbclid and gclid in one click.
URLs can only use a small set of characters. Spaces, accents, emojis and symbols like & or ? inside a value must be encoded, or the link can break or pass the wrong data. Decoding is useful when you need to read a messy tracking link or a URL from your logs. This tool also warns you when text was encoded twice, a common bug.
| Character | Encoded |
|---|---|
| Space | %20 (or + in query strings) |
| ! | %21 |
| # | %23 |
| & | %26 |
| / | %2F |
| ? | %3F |
| @ | %40 |
| é | %C3%A9 (UTF-8) |
Each line is handled on its own, so you can work on many URLs at once.
In your browserValue mode uses encodeURIComponent and full URL mode uses encodeURI, the browser's standard functions.
In your browserPercent codes are turned back into characters with decodeURIComponent, using UTF-8.
In your browserIf a decoded result still has % codes, the tool warns that it was probably encoded twice.
In your browserThe URL is split into parts and tracking codes like utm_, fbclid and gclid can be removed.
In your browserEach unsafe character is turned into its UTF-8 bytes, and each byte is written as % plus two hex digits. For example, a space is one byte (20 in hex), so it becomes %20. The letter é is two bytes, so it becomes %C3%A9.
If text contains a broken percent code, like a % with no valid hex after it, it cannot be decoded. The tool tells you which line has the problem.
Make text safe for URLs.
Read percent-encoded text.
Work with many URLs at once.
Spots text encoded twice.
See protocol, host, path, query and hash.
Remove UTM, fbclid and gclid in one click.
Encode query values and debug URLs.
Read and clean tracking links.
Decode URLs from logs and reports.
Make a messy link readable.
First release with encode and decode, value and URL modes, double encoding check, URL parts and tracking cleaner.
We run the tool against our test cases again and check RFC 3986 and the WHATWG URL standard for changes.
Tool page last reviewed on .
Tell us what you entered, what happened and what you expected. Our developer checks every report, fixes confirmed bugs as a high priority and tests the fix before it goes live.
This page follows our Editorial Policy and Methodology. If something here is wrong, our Corrections Policy explains how we fix it. Learn more about the SpellMistake team.
No ratings yet. Be the first to rate this tool.
How useful was the URL Encoder / Decoder for you?
Ratings come from real visitors. One rating per person. We never add, edit or remove ratings.
URL encoding turns characters that are not allowed in a URL into percent codes, like a space into %20.
Yes. It is 100% free, with no sign-up, and it runs in your browser.
%20 is the encoded form of a space.
Both can mean a space. %20 works everywhere. + only means a space in query strings from HTML forms.
It happens when text is encoded twice, so % becomes %25. For example, %20 becomes %2520. The tool warns you when it finds this.
Use full URL mode for whole addresses. Use value mode for single parts, like a search term in a query string.
No. Everything runs in your browser.