Encode or decode URLs and query parameters instantly using native JavaScript encodeURIComponent and encodeURI. Automatically parses query strings into readable key-value pairs. 100% private, runs entirely in your browser.
Component mode encodes all special characters — use this for query parameter values, form data, or any single piece of text going into a URL.
Parsed Query Parameters
Copied to clipboard!
Rate this tool
No ratings yet
Thanks for rating!
URL encoding, also called percent-encoding, converts characters that aren't allowed in a URL (spaces, symbols, non-ASCII letters) into a safe %XX format, where XX is the character's hexadecimal byte value. This tool uses your browser's native JavaScript engine to encode and decode instantly, with zero server upload and complete UTF-8 support for any language or emoji.
This free URL encoder and decoder supports both Component encoding (encodeURIComponent) and Full URL encoding (encodeURI), plus automatic query parameter parsing to break a complex URL into readable key-value pairs.
Use Component mode (encodeURIComponent) when encoding a single value that will be placed inside a URL, such as a query parameter, form field, or path segment — it encodes every special character including & = ? # /, which is essential because those characters would otherwise be misread as part of the URL structure. Use Full URL mode (encodeURI) when you already have a complete, valid URL and just need to escape spaces or non-ASCII characters, since it deliberately leaves structural characters like : / ? & = # @ untouched so the URL keeps working correctly [web:123][web:125].
The single biggest mistake developers make is using encodeURI on a query parameter value, which fails to escape & and = — this can let a value like "name=John&age=30" break your query string into extra unintended parameters. The opposite mistake, using encodeURIComponent on a full URL, over-encodes the protocol and path separators, turning "https://" into a broken, unreadable string [web:124][web:131].
When you paste a URL containing a query string (anything after a ?), this tool automatically detects and parses each key-value pair, displaying them in a clean, readable list. This makes it easy to inspect complex URLs, debug API requests, or understand exactly what data a tracking or redirect link is passing along.
This free tool is commonly used to safely encode search queries, form values, and API parameters before appending them to a URL, decode tracking links and UTM parameters to see their original text, debug malformed URLs returned by third-party APIs, prepare filenames or paths containing spaces or special characters for web use, and encode data for redirect URLs and OAuth callback parameters.
People discover this tool by searching url encode, url decode, url encoder decoder, percent encoding, encodeURIComponent online, encodeURI vs encodeURIComponent, decode url string, encode special characters url, query string parser, and url escape characters. This tool is used by developers, QA testers, and digital marketers across the United States, United Kingdom, Canada, Australia, India, and worldwide.
All tools work instantly in your browser, private by design, completely free.
Base64 Encoder/Decoder
Encode & decode text and files
Case Converter
UPPERCASE, lowercase & Title Case
Remove Duplicate Lines
Dedupe any list or text instantly
Online Notepad
Write & autosave notes in your browser
Compress Images
Shrink JPG and PNG photos
PDF to Word
Convert PDF to editable DOC
Word to PDF
Turn DOC files into PDFs
PDF to JPG
Save PDF pages as images
Images to PDF
Combine photos into a PDF
HEIC to JPEG
Open iPhone photos anywhere
Image Converter
JPG, PNG, WebP and more
Image Enhancer
Sharpen and improve photos
Background Remover
AI background removal
Certificate Generator
Design awards and diplomas
Invoice Generator
Create professional invoices
QR Code Generator
Custom QR codes for menus & payments
Barcode Generator
Scannable barcodes for receipts
Video Compressor
Shrink videos & extract audio
Image Editor
Compress, crop & convert photos
Merge PDF
Combine PDFs & images into one file
Split PDF
Break a PDF into separate pages
Compress PDF
Shrink PDF file size instantly
Sign PDF
Add your signature to any PDF
Protect PDF
Lock a PDF with a password
Add Watermark
Stamp text or logo onto PDF pages
Add Page Numbers
Number PDF pages automatically
Add Header & Footer
Stamp headers and footers on PDFs
ZIP Maker
Bundle any files into a ZIP online
Text Editor
Free online rich text editor
Random Text Generator
Generate lorem ipsum & filler text
PDF to JPG
Convert PDF pages into JPG images
Organize PDF
Reorder, delete or rotate PDF pages
Rotate PDF
Fix sideways or upside-down PDF pages
Component mode (encodeURIComponent) escapes every special character, including & = ? #, making it correct for query parameter values. Full URL mode (encodeURI) leaves those structural characters intact, for encoding an entire, already-valid URL.
Always use Component mode for a single value like a search term or form field. Using Full URL mode instead can leave characters like & or = unescaped, which will break your query string into unintended extra parameters.
Yes, both encoding modes fully support UTF-8, so accented letters, Chinese, Arabic, Japanese, and emoji all encode and decode correctly.
Yes, when you paste a URL containing a query string, the tool automatically detects it and displays every key-value pair in a readable list, making it easy to inspect tracking links or API requests.
%25 is the encoded form of a literal percent sign, and it usually appears when a string has been encoded twice by mistake. Try decoding your input twice, or decode once and check if the result still contains percent signs.
Yes, all encoding and decoding happens entirely in your browser using native JavaScript. Nothing you type is ever uploaded, transmitted, or stored on any server.
Yes, click the swap icon between the two text boxes to instantly move your output into the input and flip between Encode and Decode mode.