URL Encoder

Percent-encode text so it can be dropped safely into a URL or a query string. Your file never leaves this page. Everything happens in your browser, and there is no upload endpoint to send it to — that is checked by a build gate that fails if any network code reaches a tool’s bundle.

How to do it

  1. Paste the text or value you need to put in a URL.
  2. Read the encoded version.
  3. Press Copy and paste it into your link.

Questions

What is percent encoding?

URLs can only contain a restricted set of characters. Everything else — spaces, accents, ampersands, anything non-English — has to be written as % followed by its byte values. café becomes caf%C3%A9.

Should I encode the whole URL or just part of it?

Just the part you are inserting — a query value, a path segment, a search term. Encoding a whole URL would escape the :// and the slashes that make it a URL.

Why does this encode more characters than some other tools?

Characters like !, ', ( and * are legal in a URL but not safe in every position. Encoding them is the conservative choice and never changes the meaning.

Related tools

Browse every tool