URL Decoder
Decode URL-encoded text back to its original format. Fast, secure, and completely browser-based decoding.
About URL Decoder
Overview
The URL Decoder changes URL-encoded text back to its original format. URL decoding turns percent-encoded characters (like %20 for a space) back into normal characters. This is a good tool for web developers and anyone who needs to read URL-encoded data.
Features
- Real-time decoding with live mode for UTF-8.
- Two decoding methods: Component and Full.
- Supports over 40 character sets.
- Can process each line by itself.
- Lets you upload and decode files up to 100MB.
- One-click copy to clipboard.
- Clear error messages.
- Handles bad encoded sequences.
- All work is done in your browser to keep your data private.
- Has a dark mode for easier viewing.
- Clean, professional look.
- Works well on mobile devices.
How to Use
- Enter your URL-encoded text.
- Choose the decoding type. "Component" is best for most things.
- Choose the character set. UTF-8 is a good default.
- You can decode each line on its own for many entries.
- Use "Live mode" to see the decoded text as you type. This only works with UTF-8.
- Click the DECODE button to process your data.
- The result will show up in the output box.
- Click "Copy to clipboard" to save the result.
- You can also upload and decode files up to 100MB.
FAQ
What is URL encoding?
URL encoding is a way to encode information in a URL. It replaces some characters with a `%` and two hexadecimal numbers. This makes sure that the URL is valid and can be read by web servers.
Why do I need to decode a URL?
You might need to decode a URL to see the original data. This is common when you are working with web APIs or debugging. For example, a space is encoded as `%20`, and decoding it will show the space.
What is the difference between `decodeURI` and `decodeURIComponent`?
`decodeURI()` is for a whole URL and does not decode special characters like `&` or `?`. `decodeURIComponent()` is for a part of a URL, like a search query, and decodes all percent-encoded characters. Most of the time, you will want to use `decodeURIComponent`.