Skip to content

URL Encode / Decode

Encode text into a URL-safe percent-encoded string or decode an encoded URL back to readable characters. Choose component mode for query values or full-URI mode to preserve the URL structure.

Plain text
Encoded URL

About the URL Encode / Decode

URLs may only contain a limited set of characters, so anything else — spaces, &, ?, non-ASCII text — must be percent-encoded as %XX byte sequences. Getting this right matters whenever you build query strings, redirect URLs, or API requests by hand.

Component encoding escapes reserved characters like & and = so a value can sit safely inside one query parameter, while full-URI encoding leaves those separators alone so an entire URL stays valid. This tool exposes both so you can pick the correct one for the job.

How to use it

  1. 1Paste text to encode it, or a percent-encoded string to decode it.
  2. 2Pick Component for a single query value, or Full URI to keep URL separators intact.
  3. 3Copy the encoded or decoded output.

Features

  • Encode and decode percent-encoded (URL) text
  • Component mode (encodeURIComponent) for individual query values
  • Full-URI mode (encodeURI) that preserves :/?#&= separators
  • One-click copy of the result

Frequently asked questions

What is URL / percent encoding?

It replaces unsafe characters in a URL with a percent sign followed by their hexadecimal byte value (e.g. a space becomes %20), so the URL stays valid.

When should I use component vs full-URI mode?

Use component mode to encode a single query value (it escapes &, =, ? etc.). Use full-URI mode to encode a whole URL while keeping its separators intact.

Does it handle non-ASCII characters?

Yes. Text is encoded as UTF-8 first, so accented letters, emoji and other characters round-trip correctly.

Is anything uploaded?

No. Encoding and decoding run entirely in your browser.

Related tools