Skip to content

URL Encode/Decode

URL Encode/Decode supports percent-encoding and decoding for special characters, spaces, multilingual text, and query values used in API calls, forms, and shared links.

Input Text

Character

0 / 500,000

URL Encode/Decode

Quick Start

1
Enter the content above (URL, text, CJK, etc)
2
Click Encode or Decode to switch the mode
3
Click the button to start; the result appears in the same textarea
4
Use the copy button below to copy

Common Scenarios

API parameters

encode query parameters and request bodies to ensure correct transmission of special characters

Form submission

handle GET/POST data; supports CJK and special symbols

Share links

generate URLs with CJK/special characters without garbling

Search queries

encode keywords, especially when they include & = # ?

Usage Advice

Avoid double encoding: check whether content already contains %XX sequences
Partial encoding: encode only parameter values (e.g., ?key=encoded), keep the URL structure
Debugging: decode parameters in network requests to locate issues quickly
Reserved characters: : / ? # [ ] @ ! $ & ' ( ) * + , ; = have special meaning; when used as data they generally need encoding (context-dependent, especially : / ? # & = +)
Character encoding: non-ASCII characters are encoded in UTF‑8 as 1–4 bytes, each byte written as %HH

Limitations & Compatibility

URL encoding ≠ encryption: a reversible format transform that does not protect sensitive data
URL length: recommended total length < 2048 characters (varies by browser/server)
Space differences: spaces in query strings may be + (form encoding) or %20 (general); this tool uses %20 by default
Very long text: may cause the browser to become unresponsive or crash; consider processing in parts

Privacy & Security

All processing happens locally in your browser. You can replace, clear, and re-run the current content at any time.
Sensitive data (passwords, keys, tokens) should be encrypted, not encoded

FAQ

5

Continue with these related tools for the next step.