URL Encoder & Decoder
Encode and decode URLs with parameter mapping. Free online percent-encoding tool with instant live updates.
1
Result will load here...URL Percent-Encoding Guide
URLs can only contain standard ASCII characters. Reserved special symbols must be percent-encoded to prevent query parameter collisions.
Space ➔ %20Space bar
/ ➔ %2FForward Slash
? ➔ %3FQuestion Mark
& ➔ %26Ampersand
= ➔ %3DEquals Symbol
# ➔ %23Hash Fragment
How to Use the URL Encoder/Decoder
- Select **Encode** or **Decode** from the toolbar tabs.
- Enter your input text. If **Live Mode** is checked, it will convert automatically as you type.
- Use the **Component** button to encode query parameter variables specifically, or **Full URI** to preserve standard URL paths (protocol, slashes).
Frequently Asked Questions
What is encodeURIComponent?
This function escapes all reserved URL characters (such as `/`, `?`, `&`, `=`, `:`) substituting them with percent codes. Use this for query values inside parameter strings (e.g. `?name=John%20Doe`).
What is encodeURI?
This function preserves the core routing markers of a URL (protocol, hostname, port, pathname slashes) while encoding spaces, special characters, and non-ASCII glyphs. Use this to format a full URL.