Developer Tools

URL Encoder / Decoder

Encode any text to URL-safe percent-encoded format, or decode percent-encoded strings back to plain text, instantly in your browser. Handles full URLs, query parameters, and path components.

Runs in your browser No data sent to servers Copy or download result
Direction
URL
Input

Encoding and decoding happen entirely in your browser

Features

  • Percent-encodes all special characters
  • Decodes %XX sequences back to text
  • Handles Unicode characters (UTF-8 encoding)
  • Encodes full URLs or just query string values
  • Copy result with one click

How to use it

  1. Select Encode or Decode mode.
  2. Paste your text or URL.
  3. Encoded/decoded result appears instantly.
  4. Copy the output.

Use cases

  • Encoding query parameter values for URLs
  • Decoding percent-encoded URLs for readability
  • Preparing URL-safe strings for API requests

Limitations

  • The tool uses component-level URL encoding and decoding.
  • Very large input can be slower on older devices.
  • This utility is designed for common snippets and local inspection, not as a full security or language-specific validator.
Questions & answers

Frequently asked

What is the difference between encodeURI and encodeURIComponent?

encodeURIComponent encodes everything except letters, digits, and - _ . ! ~ * ' ( ). Use it for individual query values. encodeURI preserves :, /, ?, #, &, = for full URLs.