URL Encoder and Decoder
DeveloperEncode or decode a URL component safely.
Instructions, example & limitations
How it works
Choose encode or decode. Encode a component such as a search query, rather than a complete URL.
Example
“hello world” becomes “hello%20world”.
Know the limits
Uses encodeURIComponent/decodeURIComponent. A plus sign stays a plus sign; malformed percent escapes are rejected.
Processing stays in your browser. Files and text are never sent to a processing service. Page assets still load from this website.
About URL Encoder and Decoder
A URL component can contain characters that have structural meaning in an address. Encoding converts those characters into percent-encoded UTF-8 bytes so a value can be passed as one component. Use this workspace for a parameter value or another component; it does not decide which parts of a complete URL should stay as separators.
Choose Decode to inspect an encoded component. A malformed percent sequence produces an error instead of a guessed value. The decoder follows decodeURIComponent behavior: a plus sign stays a plus sign, rather than automatically becoming a space as it would in form-encoded parsing. Apply the operation once at the intended boundary and avoid accidental double encoding.
How to Use URL Encoder and Decoder
- Paste the URL, path segment or query parameter string into the input box.
- Select Encode (percent-encoding special characters) or Decode (restoring readable text).
- Inspect the safely encoded or decoded URL and copy to clipboard with one click.
Key Features & Privacy
- Encodes and decodes URL strings using standard RFC 3986 percent-encoding.
- Safely escapes query parameters, spaces, symbols and non-ASCII Unicode characters.
- Executes locally in your browser with zero server transmission or link logging.
Practical examples
Prepare a query value
Encode a search phrase before inserting it as a parameter value. Keep the question mark, ampersands and parameter names outside that operation.
red & blue becomes red%20%26%20blue.
Inspect an encoded component
Decode a value copied from an address to make Unicode characters and punctuation readable. Check its source before opening any resulting link.
hello%20world becomes hello world.
Detailed walkthroughs
Continue your workflow
Choose your next step. Content is not transferred automatically.
- Word and Character Counter — Measure parameter length against query-string browser limitations.
- QR Code Generator — Generate a scannable QR graphic using your encoded target URL.
URL Encoder and Decoder FAQs
Should I encode an entire URL at once?
The encoder is intended for URL components. Encoding a complete URL also encodes structural characters such as slashes and colons.
How are spaces represented?
Encoding uses percent encoding, so a space becomes %20 rather than a plus sign.
Why does decoding report an error?
Malformed percent escapes or invalid encoded UTF-8 sequences are rejected. Correct the input rather than repeatedly decoding it.
Is URL Encoder and Decoder free, and is my input uploaded?
It is free and requires no account. Processing happens in your browser with zero tool-input uploads to a processing server. Website assets still load from this host, whose provider may keep normal access logs.