URL Encoder & Decoder: Percent-Encoding in Your Browser
Encode and decode URLs with percent-encoding, query-string mode, form-urlencoded support, and a live URL parser. Essential for API development, link building, and fixing broken query parameters.
Key Features
- Full URL, query string, component, form, and path encoding modes
- Auto-detect encode vs decode direction
- URL breakdown: protocol, host, path, query, fragment
- Query parameter table with per-value copy
- Batch mode — one URL per line
Common Use Cases
- Encode search query parameters for API requests
- Decode percent-encoded strings from server logs
- Build safe redirect URLs with special characters
- Debug broken links with unicode or space characters
- Prepare application/x-www-form-urlencoded POST bodies
Benefits
- Avoid double-encoding with normalize-before-encode option
- See exactly which characters were percent-encoded
- No server round-trip — instant and private
- Common encoding reference built in
Why encode URLs?
URLs can only safely contain a limited set of characters. Spaces, ampersands, unicode text, and other special characters must be percent-encoded (e.g. space becomes %20) before being used in links, APIs, or query strings.
This tool encodes and decodes entirely in your browser — your URLs never leave your device.
Encoding modes
Full URL mode uses encodeURI, preserving structural characters like slashes and colons. Query Parameter mode encodes only the query string portion. Component mode uses encodeURIComponent for individual values that may contain reserved characters.
Enable auto-detect to automatically encode plain text or decode percent-encoded input as you type.
Explore More XSular Tools
XSular Tools offers a growing collection of free utilities designed for speed, privacy, and simplicity — all running in your browser with no signup. Word Counter — Free Online Text & Character Counter, Text Case Converter — Free Online Letter Case Changer, Lorem Ipsum Generator — Free Online Placeholder Text Tool, Percentage Calculator — Free Online Percent Math Tool, Reading Time Calculator — Free Online Article Read Time Estimator, or Password Strength Checker — Free Online Security Analyzer.