URL Encode

Encode special characters in URLs

How to use

  1. Paste the text or URL component you want to encode.
  2. The percent-encoded result appears instantly.
  3. Copy it into query parameters, links, or API requests.

Why use this tool

Frequently asked questions

When do I need to URL-encode?

Whenever a value in a URL contains spaces or reserved characters like &, =, ?, #, or /, encoding prevents the URL from being misread.

What's the difference from encodeURIComponent?

This tool uses the same logic as JavaScript's encodeURIComponent, escaping characters that would otherwise have special meaning in a URL.

Is my input uploaded?

No — encoding happens locally in your browser.

Back to all tools