Find a tool

URL Component Encoder & Decoder

Encode one URL component or decode valid percent-escaped UTF-8 text.

n

URL Component Encoder & DecoderProcessed in your browser
Tool inputs

Inputs are processed locally by this tool. Other site plugins, hosting logs, ads and embeds have their own data handling. Text limit: 1 MiB UTF-8.

n

How to use URL Component Encoder & Decoder

  1. Paste a component value.
  2. Choose encode or decode.
  3. Run the operation and copy the result.

Example

creator tools becomes creator%20tools. Decode %E0%A8%AA to the corresponding Gurmukhi letter.

Method and formula

Encoding uses encodeURIComponent; decoding uses decodeURIComponent. The tool acts on one component, not an entire URL. Unicode text is encoded as UTF-8 percent escapes and malformed escapes produce a visible error.

Limits and supported input

A plus sign is not converted to a space when decoding. Use the UTM Builder for whole campaign URLs. Lone surrogate characters are invalid for encoding.

Privacy

This tool processes the input in your current browser tab. It does not upload your input or call a paid or remote API. Copying places text on your system clipboard; downloading saves a file on your device. Site hosting logs, analytics, ads, third-party embeds and other installed plugins are separate and can have their own data handling. JavaScript is required for the tool, while this explanation remains available without it.

Frequently asked questions

Should I encode a complete URL?

No. Component encoding also encodes separators such as : and /.

Why does %ZZ fail?

It is not a valid percent-encoded byte.