Skip to main content
Web & Network

URL Encoder

Encode URLs and URI parameters with RFC 3986 percent-encoding. Choose between encodeURIComponent (for query values) and encodeURI (for full addresses) with instant diffing.

Your input is processed locally in your browser and is not sent to our server.
Plain URL / Text Input65 chars
Percent-Encoded Output

Key Features

  • encodeURIComponent mode (encodes slashes, colons, ampersands)
  • encodeURI mode (preserves protocol and domain structure)
  • Live encoding as you type
  • Special character highlight table
  • One-click copy to clipboard
  • 100% browser-based security

How to Use URL Encoder

  1. 1Enter the text, query string, or complete URL.
  2. 2Select the encoding mode (Component or Full URI).
  3. 3Inspect the percent-encoded (%20, %26, %3D) result.
  4. 4Copy the safe URL output.

Frequently Asked Questions

When should I use encodeURIComponent vs encodeURI?

Use encodeURIComponent when encoding parameter keys or values (e.g. search terms with &, =). Use encodeURI when encoding a full URL address without breaking the http:// or / path delimiters.