URL Encoder / Decoder

Decode percent escapes in a link or encode text so it is safe inside an address. The direction is picked automatically.

The output will appear here.

How URL Encoder / Decoder works

Decode percent escapes in a link or encode text so it is safe inside an address. The direction is picked automatically.

Input URL text
Output Encoded or decoded URL
Works done 3,663

Related tools

URL Encoder / Decoder Details

URL Encoder and Decoder makes percent-escaped sequences in a link readable, or turns text into something safe to drop into an address.

Use it to unpack a long link from a search result, put non-ASCII characters into a query parameter, or read a redirect target.

The workflow

Short version: give it input, run it, take the output. Details below.

  1. Paste the address or the text into the box.
  2. Run the tool: percent escapes are decoded, anything else is encoded.
  3. Copy the result.

Formats, limits and behaviour

Behaviour in detail:

  • A percent sign followed by two hex digits triggers decoding; otherwise the input is encoded.
  • Encoding follows encodeURIComponent, so slashes, question marks and equals signs are escaped too.
  • Non-ASCII characters are encoded as UTF-8 bytes, so one letter can produce several percent groups.
  • Everything runs in the browser; the address is never sent to a server.

Picking the right tool

This is the page for address escaping. For binary-to-text use Base64, and to see where a link actually lands use the Redirect Checker.

Encoding a whole address escapes the protocol colon and slashes as well — usually you only want to encode a parameter value. The tool does not validate whether the address exists.

Practical notes

  • Select just the query value before encoding; encoding the entire URL breaks the link.
  • A space encodes to %20, though some systems also read a plus sign as a space.
  • If a decoded address shows an unfamiliar domain, do not click it.

Where your data is processed

This tool runs entirely in your browser, so what you type is not sent to the server. The only request that leaves is a counter with no content in it. Third-party advertising cookies may be present on the page, and they cannot read your input.

Frequently asked questions

Type or paste your data into the URL text field, run the tool, then copy or download the Encoded or decoded URL result.

Yes. While the text field is focused, Ctrl + Enter (Cmd + Enter on macOS) runs the tool.

You can copy the output or save it as a text file with the download button. The file name is based on the tool name.

The tool shows the error message in the output area. Fix the input and run it again.