Skip to main content
SiteIndex

Developer

URL Encoder Documentation

Use the free URL Encoder →

Encode or decode URL strings and query parameter content securely in-browser.

What does it do?

Encode or decode URL strings and query parameter content securely in-browser.

How does it work?

Uses JavaScript encodeURIComponent and decodeURIComponent locally for a single URL component. Invalid percent escapes or invalid decoded UTF-8 produce an error and no copyable output.

When to use it
  • Encode a search term containing spaces or ampersands before adding it as a query value.
  • Inspect a percent-encoded path segment from a log without visiting the destination.
Inputs and outputs
Input
Text, files, or values entered in the browser, depending on the tool.
Output
A result shown in the browser that can be reviewed or copied where supported.
Limitations
  • This encodes URL components, including URL separators such as /, :, and ?. It does not validate a full URL or make an unsafe URL safe.
  • A plus sign stays a plus sign when decoding; form-encoded + for space is not interpreted.
Privacy and data handling

Inputs for this browser-side tool are processed locally and are not sent to SiteIndex. Normal page analytics may still be collected as described in the Privacy Policy. Read the Privacy Policy.

How to use it

  1. Choose Encode for raw component text or Decode for percent-encoded text.
  2. Paste one query value or path component, not a complete URL whose separators you want to preserve.
  3. Select Convert, review errors if present, and copy the output.

Related tools