Skip to content
Free Online Tools
All Tools Text Tools Developer Tools Generators Converters Calculators Data & Converters Web & Design Encoders & Ciphers Networking Games About Blog News

URL Encode / Decode

Developer Tools 100% in-browser

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

How to use the URL Encode / Decode

  1. 1 Paste the text or URL you want to convert.
  2. 2 Choose Encode or Decode — the result updates instantly.
  3. 3 Copy the output with one click.

About the URL Encode / Decode

URLs can only contain a limited set of characters. Spaces, ampersands, question marks and non-English characters must be percent-encoded (for example, a space becomes %20) so they travel safely in query strings and links. URL decoding reverses this to show the human-readable original.

This tool uses the browser’s native encoding functions, so results match exactly what browsers and servers produce. Nothing is transmitted — your data stays on your device.

Frequently asked questions

What is the difference between encodeURI and encodeURIComponent?

This tool encodes components — it escapes characters like &, ? and = so the text is safe inside a single query parameter.

Why does a space become %20 or +?

In URL paths a space is %20; in form-encoded query strings it is sometimes +. This tool uses %20 for correctness.

Related tools

Base64 Encode / Decode Convert text to and from Base64. Everything runs in your browser and is UTF-8 safe.
JSON Formatter & Viewer Paste JSON to beautify, validate and explore it in a live collapsible tree — with search, expand/collapse and JSONPath.
Hash Generator Type text to instantly generate MD5, SHA-1, SHA-256 and SHA-512 hashes.

More from us

Recently used