URL Encoder & Decoder

Percent-encode and decode URLs and query parameters online. encodeURIComponent, encodeURI and form (+) encoding modes with full UTF-8 support.

Runs 100% in your browser. Nothing you paste is uploaded.

Text

—

URL-encoded

—

About the URL Encode / Decode

URLs may only contain a limited set of ASCII characters. Everything else — spaces, &, ?, non-English letters, emoji — must be percent-encoded as %XX bytes. This tool encodes and decodes using the same rules as JavaScript, Java’s URLEncoder (form mode) and most HTTP libraries.

Features

  • Component mode (encodeURIComponent) for parameter values
  • Full-URL mode (encodeURI) keeps /?#&=
  • Form mode encodes spaces as +
  • “Encode everything” mode
  • Line-by-line processing
  • Helpful errors for malformed sequences

How to use it

  1. Choose Encode or Decode and the mode.
  2. Paste the text or URL.
  3. Copy the result.

Frequently asked questions

Should I use component or full-URL mode?

Use component for individual query values or path segments. Use full URL only on a complete URL whose structure (/?&=#) must be preserved.

Why does a space become + instead of %20?

HTML forms use application/x-www-form-urlencoded, where spaces become +. Java’s URLEncoder follows this rule. Both are valid in query strings.

Esc