URL Encoder & Decoder

Encode and decode URLs with parameter mapping. Free online percent-encoding tool with instant live updates.

Input Text / URL
1

Drop text file here to load

Encoded Output
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

  1. Select **Encode** or **Decode** from the toolbar tabs.
  2. Enter your input text. If **Live Mode** is checked, it will convert automatically as you type.
  3. 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.