Nifty / Tools / Encode & decode

URL Encode

Percent-encode text so it can go in a URL query string or path. Accents and emoji are encoded as UTF-8.

url-encode
TextDrop a file here
Encoded
Loading…

Runs in your browser. Nothing you paste is uploaded or stored.

How to use the URL Encode

  1. Paste the text on the left, such as a search term or a parameter value.
  2. Tick Whole URL if you pasted a complete URL and want to keep its : / ? & = characters.
  3. Copy the encoded text.

Questions

Is my data uploaded anywhere?

No. The tool runs entirely in your browser. Nothing you paste or drop is sent to a server, logged or stored, so it's safe for API responses, config files and other private data.

Which option should I use?

Leave Whole URL off when encoding one value that goes after = in a query string (like encodeURIComponent). Turn it on to clean up a complete URL without breaking it (like encodeURI).

Can I URL-encode in VS Code?

Yes. Nifty Text's URL Encode command encodes the selection in place.

Related tools