URL Encoder & Decoder
Encode or decode URL components and query parameters.
Related tools
HTML Entity Encoder / Decoder
Convert special characters to and from named/numeric HTML entities.
Query String Parser / Builder
Parse query strings into key-value pairs or construct URL-encoded parameter strings.
URL Parser & Breakdown
Deconstruct URLs into protocol, host, port, path, query parameters, and hash fragment.
Base64 Encoder / Decoder
Encode or decode Base64 strings instantly with size metrics.
URL-Safe Slug Generator
Turn any title or text string into a clean, URL-safe SEO slug.
Whenever a URL contains spaces, symbols, or non-ASCII characters, they need to be percent-encoded before the link will work reliably, and this url encoder decoder handles that conversion instantly in your browser. Web developers building query strings, testers debugging redirect issues, and anyone pasting a broken link can encode or decode text in either direction without touching a terminal. Paste a raw string to see its percent-encoded form, or drop in an already-encoded URL to reveal the readable version underneath. Everything runs client-side, so query parameters containing tokens or personal data are never transmitted anywhere. No installation, no signup — just paste your text below and get the correct output immediately.
Features
- Encode plain text or full URLs into percent-encoded form
- Decode percent-encoded strings back to readable text
- Correctly handles reserved and unreserved URI characters
- Supports encoding of individual query parameters
- Processes multi-line input in bulk
- One-click copy of the result
- No character or request limits
- Instant conversion with no page reload
Why use this url encoder / decoder?
- Converts URLs instantly without any network delay
- Keeps query strings and tokens private by running entirely in your browser
- Follows the correct RFC 3986 percent-encoding rules
- Simple, distraction-free interface anyone can use
- Completely free with unlimited use and no account needed
Frequently asked questions
What is URL encoding (percent-encoding)?
URL encoding replaces unsafe or reserved characters in a URL with a '%' followed by two hex digits, so the URL can be transmitted correctly over the web.
When should I URL-encode a query parameter?
Any time a parameter value contains spaces, ampersands, slashes, or other special characters that could otherwise be misread as part of the URL structure.
What's the difference between encodeURIComponent and encodeURI?
encodeURIComponent encodes nearly all special characters and is meant for individual query values, while encodeURI leaves URL structural characters like '/' and '&' untouched.
Is it safe to decode a URL containing personal data here?
Yes, decoding happens entirely in your browser with no server involved, so the data never leaves your device.
Why do spaces sometimes show as '+' and sometimes as '%20'?
'+' is the legacy encoding for spaces in form submissions (application/x-www-form-urlencoded), while '%20' is the standard percent-encoding used in URL paths.
Can this tool encode an entire URL at once?
Yes, you can paste a full URL and it will percent-encode the characters that need it while leaving valid URL syntax intact.
From the blog
How to URL Encode a String (and When You Must)
URL encoding explained: which characters need percent-encoding, why a space is %20 in a path but + in a query string, and how to avoid double-encoding bugs.
The Complete Guide to Text Encoding on the Web
A complete text encoding guide: how Unicode and UTF-8 store characters as bytes, plus Base64, percent-encoding, HTML entities, hex, and how to fix garbled text.