URL Decoder & Encoder
Decode percent-encoded URL strings (%20, %2F, etc.) back into readable characters, or encode URLs into safe transmission format.
Decode & Encode URLs
Paste encoded web links or parameters to decode instantly.
What is URL Percent-Encoding and Decoding?
URL Decoding (also known as percent-decoding) is the process of converting percent-encoded characters (like %20, %2F, and %3A) back into their original readable characters. Under the RFC 3986 standard, Uniform Resource Identifiers (URIs) are restricted to a defined set of ASCII characters. Any character outside this set—including spaces, punctuation, non-English alphabets, and emojis—must be converted into a percent-encoding sequence.
Our free URL Decoder & Encoder lets you seamlessly toggle between decoding encoded URLs and encoding raw strings into web-safe URI components. It supports complete UTF-8 multi-byte character decoding, ensuring that international languages, accented letters, and symbols are restored accurately without character loss.
How to Decode and Encode URLs Online
- Paste Input: Paste your encoded URL, query string, or plain text into the input textarea above.
- Choose Conversion Action:
- Decode URL: Converts percent-encoded hex sequences (e.g.,
https%3A%2F%2Fexample.com%2Fpath%3Fq%3Dhello%20world) back into clean, readable text (https://example.com/path?q=hello world). - Encode URL Component: Escapes reserved and non-ASCII characters with percent codes so they can be safely passed in web requests and API parameters.
- Decode URL: Converts percent-encoded hex sequences (e.g.,
- Copy or Download: Click Copy Text to copy the converted string to your clipboard, or click Download TXT to save it to your device.
Common URL Percent-Encoding Reference Table
The table below lists the most frequent percent-encoded characters encountered in web links and API query parameters:
| Character | Name / Meaning | Percent Code | URL Function |
|---|---|---|---|
(space) |
Space | %20 or + |
Word separator in query strings |
/ |
Forward Slash | %2F |
Path segment delimiter |
: |
Colon | %3A |
Protocol separator (https:) |
? |
Question Mark | %3F |
Query string initiator |
& |
Ampersand | %26 |
Parameter separator in query strings |
= |
Equals | %3D |
Key-value separator in query strings |
# |
Hash / Number Sign | %23 |
Fragment anchor identifier |
+ |
Plus | %2B |
Often used as an alternate space symbol |
Real-World Scenarios for URL Decoding and Encoding
- Debugging Marketing & Analytics UTM Tags: Marketing links frequently contain heavily encoded UTM campaign parameters, affiliate tracking IDs, and landing page URLs. Decoding them lets digital marketers inspect campaign sources, mediums, and content tags.
- API Development & Webhook Inspection: REST APIs, OAuth 2.0 authorization flows (such as
redirect_uriparameters), and payment webhooks transmit URLs embedded inside query parameters. Decoding reveals the true callback destinations. - Unmasking Search Engine & Redirect URLs: Search engines and link aggregators often wrap external links in redirection wrappers (e.g.,
https://www.google.com/url?q=https%3A%2F%2Ftarget.com). Decoding the string isolates the direct target URL. - Safely Transmitting Non-ASCII Characters: Sending search queries or user-generated input containing spaces, accents (like
café), or Asian characters requires proper percent-encoding to prevent HTTP 400 Bad Request errors. - Preventing Parameter Pollution: Web security analysts and developers examine encoded parameters to diagnose HTTP parameter pollution and ensure backend routing engines parse requests accurately.
Difference Between encodeURI and encodeURIComponent
In web development, two distinct levels of encoding exist:
- Full URL Encoding (
encodeURI): Encodes non-ASCII characters but preserves protocol delimiters (likehttp://,/,?,#,&) because they serve valid architectural roles in a complete web address. - Component Encoding (
encodeURIComponent): Encodes all reserved characters (including slashes, ampersands, colons, and question marks). This is mandatory when you need to pass an entire URL as a single parameter value inside another URL's query string.
Need to convert between other web encoding formats? Check out our HTML Entity Encoder, convert binary strings with the Base64 Decoder and Base64 Encoder, or clean unwanted characters with the Text Cleaner.
Frequently Asked Questions
Why do spaces in URLs sometimes appear as %20 and other times as a plus (+)?
Standard RFC 3986 URI percent-encoding represents a space as %20. However, when HTML forms submit data using the application/x-www-form-urlencoded media type, spaces are traditionally encoded as plus signs (+). Both formats are widely recognized by web servers.
What characters are considered "reserved" in URLs?
Under RFC 3986, reserved characters have special structural meanings in URLs. They include !, #, $, &, ', (, ), *, +, ,, /, :, ;, =, ?, @, [, and ]. When used as literal text data rather than delimiters, they must be percent-encoded.
Can this tool decode malformed or partially encoded URLs?
Yes. If a URL contains valid percent encodings, the tool translates them immediately. If an invalid percent sequence (such as a solitary % without two hexadecimal digits) is encountered, a clear visual alert informs you to check your input.
Does this URL decoder handle international characters and emojis?
Yes. The decoder uses complete UTF-8 multi-byte decoding. International scripts (Cyrillic, Arabic, Chinese, Japanese), accented characters, and emojis (e.g., %F0%9F%9A%80 → 🚀) are decoded accurately.
Is my URL data stored on your server?
No. All decoding and encoding happens 100% locally in your browser using JavaScript. No URLs, query parameters, API keys, or private tokens are ever transmitted to or logged on our servers.
Explore More Free Text & Conversion Tools
Fast, secure, and easy-to-use online text utilities built for creators and developers.
Text Case Converter
Convert text between UPPERCASE, lowercase, Title Case, Sentence case and Capitalized case.
Character Counter
Count total characters with and without spaces, words, sentences, and lines in real-time.
Word Counter Online
Accurately count words, unique vocabulary, characters, reading time, and word frequency.
Sentence Counter
Count sentences accurately, calculate average sentence length and readability metrics.
Reading Time Calculator
Estimate reading and speaking time based on custom WPM reading speeds.
Decimal to Hex Converter
Convert base-10 decimal numbers to hexadecimal format with prefix and padding controls.
Text Reverser
Reverse text characters, word order, line order, or flip text upside down instantly.
Letter Counter
Accurately count total letters (A-Z), vowels, consonants, and analyze letter frequencies.
Line Counter
Count total lines, non-empty lines, empty lines, and add line numbers automatically.
Text Cleaner
Clean duplicate spaces, strip HTML tags, remove empty lines, symbols, and numbers.
Alphabetical Order Sorter
Sort lines or words alphabetically (A-Z / Z-A), remove duplicates, or sort by length.
Line Break Remover
Remove newlines, replace breaks with custom delimiters, and preserve paragraphs.
Title Capitalization Tool
Convert text into proper title case following AP Style and Chicago style guidelines.
Text Formatter
Format line prefixes, suffixes, paragraph indentations, and sentence spacing.
Whitespace Remover
Remove all spaces, collapse multiple spaces, trim lines, and remove tab characters.
Word Frequency Counter
Analyze word frequency counts, filter stop words, and sort vocabulary density.
HTML Entity Encoder
Encode special HTML characters into Named, Decimal, or Hexadecimal HTML entities.
Base64 Encoder
Encode UTF-8 text or strings into standard or URL-safe Base64 format.
Base64 Decoder
Decode Base64 string data back to readable UTF-8 text with input error validation.
URL Decoder
Decode URL-encoded strings, percent encodings, and parse query parameters.
Text to Binary Converter
Convert plain text strings into 8-bit binary code (0s and 1s) with UTF-8 byte encoding.