URL Encoder

Encode and decode URLs and query string components online for free.

How to use

  1. 1Choose Encode or Decode.
  2. 2Type or paste your text.
  3. 3Copy the result from the output box.

Features

  • Encode text or URL components
  • Decode percent-encoded text
  • Runs entirely in your browser

Supported formats

Plain textURL-encoded text

Privacy

Your text is encoded or decoded locally in your browser and is never sent to our server.

About this tool

URL encoding converts characters that are unsafe in a URL into percent-encoded sequences. This tool encodes text using the same rules as JavaScript's encodeURIComponent, or decodes percent-encoded text back into plain text.

Frequently asked questions

What does URL encoding do?

It converts characters that aren't safe in a URL (like spaces and symbols) into percent-encoded sequences, e.g. a space becomes %20.

Should I encode an entire URL or just a part of it?

This tool encodes the full input as a single component, similar to JavaScript's encodeURIComponent. Encode only the value of a query parameter, not the whole URL with its protocol and slashes.

Is my text sent to a server?

No, encoding and decoding happen entirely in your browser.