OfflineSafeTools

URL Encoder / Decoder — Tutorial

What is URL encoding?

URL encoding (also called percent-encoding) converts special characters in text to a format safe for URLs, using percent-encoding (e.g., space becomes %20). Decoding reverses this process.

Why URL encoding is needed

URLs can only contain certain ASCII characters. Special characters, spaces, and non-ASCII characters must be encoded to be transmitted safely in URLs.

Common encodings

Examples

Original: Hello World!
Encoded: Hello%20World%21

Original: user@example.com
Encoded: user%40example.com

Official documentation

How to use the tool

  1. Paste or drop text/URL, or load from a file.
  2. Click Encode or Decode to process the input.
  3. Copy or download the result.
  4. History: Last 5 actions are stored locally. Use Clear history to remove them.

Open the tool: URL Encoder / Decoder

Privacy & limits

Troubleshooting

When to use URL encoding