URL Encoder

Convert spaces, symbols and special characters into percent-encoded values that are safe for URLs and query strings.

Your text is encoded locally in your browser and never uploaded.

How to use URL Encoder

  1. Paste the text or URL component you want to encode.
  2. Choose what to encode — everything, or only query-string components.
  3. Copy the encoded output.

About this tool

URLs can only contain a limited set of characters. Spaces, &, ?, = and non-ASCII text must be percent-encoded before they can be used in a link or query string.

This tool offers both encodeURIComponent-style encoding (for values) and full encoding (for whole URLs or path segments).

Frequently asked questions

Which encoding mode should I use?
Use “Components” to encode a query value like a search term. Use “Everything” to encode a complete URL or path, where characters like / and : must be encoded too.

Related tools