URL Encode / Decode

How to use URL Encode / Decode

Select Encode or Decode mode. Paste or type your text into the input area and click Convert. The result appears in the output area. Use Copy to copy the result, Swap to move the output back to input, or Clear to reset both fields.

Features

  • Toggle between encode and decode
  • Full UTF-8 Unicode support
  • Swap output to input for chaining
  • Copy result to clipboard
  • Error handling for invalid encoded strings

Frequently Asked Questions

What is URL encoding?

URL encoding (percent encoding) converts special characters into a format safe for URLs. For example, spaces become %20 and ampersands become %26. This ensures URLs are transmitted correctly across the internet.

What is the difference between encode and decode?

Encode converts readable text into percent-encoded URL format (e.g., 'hello world' → 'hello%20world'). Decode reverses this, converting percent-encoded text back to readable form.

Does it handle Unicode characters?

Yes. The tool uses JavaScript's encodeURIComponent and decodeURIComponent, which fully support UTF-8 Unicode characters including non-Latin scripts and emoji.

Related Tools