TF

Developer Tools

URL Encoder / Decoder

Percent-encode and decode URL components.

Runs locally in your browser — your input is not uploaded.

Enter text to encode or a percent-encoded string to decode.

How to use

  1. Paste the text or encoded string.
  2. Click Encode or Decode.
  3. Copy the output for use in URLs or query parameters.

About this tool

Percent-encoding (URL encoding) replaces reserved and non-ASCII characters with %HH sequences so they can travel safely in URLs.

This tool uses encodeURIComponent / decodeURIComponent semantics, which is what you usually want for query parameter values.

Examples

Encode a query value

hello world!
hello%20world!

FAQ

Should I encode a full URL?

Usually you encode individual components (like a query value), not the entire URL including :// and /.

Related tools

Want more power later?

Premium tools, higher limits, and API access are on the roadmap. V1 stays free and private in your browser.