Skip to content

URL Encode / Decode

Percent-encode or decode query strings and URL components safely.

Output

How to use the URL Encode / Decode

  1. Choose Encode or Decode and the mode.

  2. Paste your URL or text.

  3. Copy the converted output.

What is URL encoding?

URL (percent) encoding replaces characters that aren't allowed in URLs — spaces, &, ?, #, non-ASCII — with % followed by their hex code, so links and query strings stay valid. This tool supports both encodeURIComponent (for individual values) and encodeURI (for whole URLs), and decodes either back to plain text.

Key features

  • Encode and decode percent-encoding
  • Component mode and full-URL mode
  • Handles Unicode characters correctly
  • Instant, private conversion

Frequently asked questions

What's the difference between component and full-URL encoding?

Component mode (encodeURIComponent) escapes characters like / ? & = for use in a single value; full-URL mode (encodeURI) leaves those intact to keep a complete URL valid.

Why are spaces turned into %20?

Spaces aren't allowed in URLs, so they're percent-encoded as %20 (or + in some query-string contexts).

Is my URL stored anywhere?

No — encoding and decoding run locally in your browser.