URL Encoder & Decoder
Encode or decode percent-encoded URLs, batch parse paths, analyze queries, and build UTM tracking campaigns.
| Key | Value | Actions |
|---|---|---|
| Enter a URL above and click Parse to inspect details | ||
Generated Campaign Link
Dedicated URL Tools
Use these focused tools for specific URL operations:
What is the URL Encoder & Decoder?
URL encoding (percent-encoding) is the mechanism that makes the web's addressing system work reliably. Every time you share a link containing spaces, Unicode characters, or reserved symbols like & and =, those characters must be converted into a safe ASCII representation — a percent sign followed by two hex digits. Without encoding, browsers and servers misinterpret query boundaries, fragment identifiers break, and analytics tracking parameters collide. This tool handles single-URL encoding and decoding, batch processing of multiple URLs, interactive query-string parsing with an editable parameter table, and a UTM campaign link builder — all running entirely in your browser with zero data transmission.
How to use the URL Encoder & Decoder?
- Choose your tool from the tabs: 'URL Encoder/Decoder', 'Batch Processing', 'Query Parser', or 'UTM Builder'.
- URL Encoder/Decoder: Paste your text or URL into the input area. Select encoding mode — 'Encode All (Component)' encodes every special character, while 'Keep Delimiters (URI)' preserves URL structure characters like :// and &.
- Click the 'Encode →' button to percent-encode the input, or '← Decode' to convert percent-encoded sequences back to readable text. Results appear instantly in the output panel.
- Batch Processing: Enter multiple URLs (one per line) and encode or decode them all at once. Lines with invalid sequences are flagged with an [Error] prefix without stopping the batch.
- Query Parser: Paste a full URL with query parameters. The tool splits them into an editable table where you can modify values, add new parameters, delete rows, and click 'Rebuild URL' to generate the updated link.
- UTM Builder: Fill in your website URL and campaign parameters (Source, Medium, Campaign, Term, Content) and click 'Generate UTM Link' to create a properly encoded tracking URL for Google Analytics.
- All processing runs 100% client-side in your browser — no data is ever sent to a server. Click 'Copy Output' to copy results to your clipboard.
Frequently Asked Questions
Is this URL encoder safe for sensitive data?
Yes. This tool runs entirely client-side in your browser using JavaScript. No data is sent to any server — your URLs, query parameters, and campaign links never leave your device.
What is URL encoding?
URL encoding (percent-encoding) replaces unsafe ASCII characters with a '%' followed by two hexadecimal digits representing their byte value. This ensures URLs are valid and interpreted correctly across all systems, browsers, and servers.
What characters need URL encoding?
Spaces, &, =, ?, #, +, and non-ASCII characters all require encoding. Reserved characters that have special meaning in URL syntax (like delimiters and query separators) must be encoded when used as data values rather than structural elements.
What is the difference between encodeURI and encodeURIComponent?
encodeURI preserves URL structure characters such as ://, ?, and #. encodeURIComponent encodes everything except unreserved characters (letters, digits, - _ . ~). Use encodeURIComponent for query parameter values to ensure special characters don't break the URL structure.
What is a UTM parameter?
UTM parameters are campaign tracking tags (utm_source, utm_medium, utm_campaign, utm_term, utm_content) appended to URLs for Google Analytics attribution. They help you identify which marketing channels and campaigns drive traffic to your site.
Can I decode multiple URLs at once?
Yes. The Batch Processing tab processes each line independently, preserving empty lines and reporting errors per-line with an [Error] prefix without halting the rest of the batch.
URL Encoder Features
⚡ Instant Encoding & Decoding
Convert text to percent-encoded URLs or decode encoded sequences back to readable text with a single click. Supports both encodeURI and encodeURIComponent modes.
📋 Batch URL Processing
Process multiple URLs simultaneously — paste one URL per line and encode or decode the entire batch at once. Failed lines are flagged without stopping the rest.
🔍 Query Parameter Parser
Break down complex query strings into an interactive table. Edit keys and values directly, add or remove parameters, then rebuild the URL with proper encoding.
📊 UTM Campaign Builder
Generate properly encoded Google Analytics campaign tracking URLs. Fill in source, medium, campaign, term, and content fields to create tagged marketing links.
🔒 100% Client-Side Privacy
All encoding, decoding, and URL building happens locally in your browser. No data is ever transmitted to external servers, keeping your URLs and parameters private.
🔗 URL Rebuilding
After parsing and editing query parameters, instantly rebuild a clean URL with correct encoding. Copy the result directly to your clipboard for immediate use.