GuestGUEST
Loading…
URL encode or decode strings. Convert special characters to percent-encoded format and back.
GuestGUEST
Loading…
Encode/Decode URL is a free online tool that percent-encodes special characters for safe use in URLs or decodes percent-encoded strings back to readable text. Essential for web developers working with query strings, API parameters, or URIs.
URL encoding uses encodeURIComponent() which converts characters like spaces, ampersands, and non-ASCII characters to percent-encoded format (e.g. space → %20). Decoding uses decodeURIComponent() to reverse the process.
Paste your URL or string
Enter the URL or text string you need to encode or decode in the input field.
Encode or decode
Click "Encode URL" to percent-encode special characters, or "Decode URL" to convert encoded sequences back to readable text.
Copy the result
Copy the output for use in web development, API calls, or browser address bars.
Query String Parameters
Encode user-supplied search terms or filter values before appending them as URL query parameters.
API Request Construction
Percent-encode parameter values when building API request URLs programmatically to prevent injection issues.
Internationalized URLs
Encode non-ASCII characters like accented letters or CJK characters so they are safe to use in URLs.
Debugging Encoded URLs
Decode obfuscated or percent-encoded URLs from logs or redirects to read the original destination.
Mailto Link Parameters
Encode subject and body text for mailto: links to ensure special characters render correctly in email clients.
Redirect URL Encoding
Encode return_url or redirect parameters that contain slashes and question marks to keep the parent URL valid.
encodeURIComponent Accuracy
Uses JavaScript's encodeURIComponent which encodes all unsafe characters correctly for query parameter values.
Decode Mode Included
Decode any percent-encoded string back to readable text with a single button, covering both encode and decode workflows.
Malformed Sequence Detection
Shows a clear error when decoding an invalid percent-encoded sequence rather than returning corrupted output.
Unicode Handling
Correctly encodes multi-byte Unicode characters to their full percent-encoded form per the URI specification.
Instant Results
Encoding and decoding run synchronously in the browser so output appears immediately without any delay.
No Upload Required
All processing is client-side so you can safely encode sensitive query parameters and tokens offline.
Also Try
Also Known As
Binary To Decimal
Convert between binary, decimal, hex and octal number systems
Color Converter
Convert colors between HEX, RGB, and HSL formats
Convert Binary
Convert binary numbers to text and text to binary
Convert Timestamp
Convert Unix epoch timestamp to standard date format and back
Count Words
Count words, characters, sentences and paragraphs in text
Convert Datetime
Convert datetime between different formats and timezones
Trusted Worldwide
iLoveDocsTools is used by students, professionals, and businesses across the United States, Canada, United Kingdom, Australia, India, and more than 100 other countries. All tools are browser-based and process files privately — your files never leave your device. Free to use, with Pro plans for unlimited access.
All processing happens directly in your browser. Your documents are never sent to any server — complete privacy guaranteed for users in the USA, Canada, UK, and worldwide.
Every tool on iLoveDocsTools is free to use. Need more? Upgrade to Pro for unlimited usage, priority access, and no daily limits. Trusted by students, freelancers, and teams across North America and Europe.
Whether you are on a Mac, Windows PC, iPhone, or Android in New York, Toronto, London, or Sydney — our tools work instantly in any modern browser.
Looking for free PDF tools in the USA? Free document converters in Canada? Online PDF editors in the UK or Australia? iLoveDocsTools offers 70+ free tools — merge PDF, split PDF, compress PDF, convert Word to PDF, Excel to PDF, JPG to PDF, and many more — all free, all instant, all private. No watermarks. No file size limits. Just free tools that work.