URL Encoder / Decoder
Encode or decode URL strings — single component or full URL — with proper percent-encoding.
More options
How to use URL Encoder / Decoder
- Choose encode or decode.
- Pick component mode (encodes more) or full-URL mode.
- Paste your text and copy the result.
What is URL Encoder / Decoder?
URLs can only contain a limited ASCII subset. Special characters (spaces, &, =, #, non-ASCII) must be percent-encoded — for example, a space becomes %20. This tool handles both encoding and decoding, with separate modes for full URLs (preserves ://) and query-string components (encodes everything).
FAQ
- What's the difference between component and full-URL mode?
- Component mode (encodeURIComponent) encodes /, ?, &, =, etc. — use it for query values. Full-URL mode (encodeURI) preserves URL structure.
- Is it safe to encode sensitive URLs?
- Yes — all encoding and decoding happens inside your browser. Your URLs are never sent over the network.
- Can I encode just one parameter instead of the whole URL?
- Yes. Switch to component mode to encode or decode a single query parameter or path segment without touching the rest of the URL.
Related tools
People also use
- Extract URLs🔍 Find & Replace
Extract URLs — Get a clean list of every URL in a block of text — http, https, and www. style addresses. Runs entirely client-side inside your browser.
- HTTP Headers Checker🌐 Network & Domain Tools
Free online HTTP headers checker. View all response headers from any URL including security headers, caching, content type, and CORS settings.
- URL Extractor🔍 Find & Replace
Free online URL extractor. Extract all URLs from any text, HTML, logs, or documents. Deduplicate and sort results.