NNavProject Tools

Tools / URL Encoder

URL Encoder & Decoder

Percent-encode text so it is safe inside a URL, or decode %XX sequences back to readable text. Everything runs in your browser.

Uses encodeURIComponent / decodeURIComponent. Press Ctrl / ⌘ + Enter to convert.

What is URL encoding?

URLs may only contain a limited set of ASCII characters. URL encoding (also called percent-encoding) replaces unsafe characters with a % followed by two hexadecimal digits, so values survive being passed through query strings and paths.

How to use this tool

  1. Choose Encode or Decode.
  2. Paste text, a URL, or a percent-encoded string.
  3. Click Convert — the result appears instantly.
  4. Copy or download the result.

FAQ

encodeURIComponent or encodeURI — which one does this use?

This tool uses encodeURIComponent, which escapes characters such as ?, &, = and # — exactly what you need when encoding a query parameter value.

Why does decoding fail on some strings?

A percent-encoded string needs complete %XX sequences. A lone % or an invalid sequence such as %ZZ cannot be decoded.

Is my data uploaded?

No. Everything happens locally in your browser.