Toolhaus

URL Encoder & Decoder

Percent-encode text for safe use in URLs, or decode encoded URLs back to text.

Encode text so it is safe to include in a URL, or decode a percent-encoded URL back to readable text. Uses component encoding by default.

Output
—

Formula & methodology

Uses the standard encodeURIComponent / decodeURIComponent semantics.

Worked example

  • a b&c → a%20b%26c

Frequently asked questions

What characters get encoded?

Reserved and non-ASCII characters are percent-encoded (e.g. a space becomes %20).

Privacy

All processing happens locally in your browser. Your data is never uploaded.

Read the practical guide for this category.

Related tools