URL Encoder Online — Percent-Encode URL Components

Percent-encode URL components online in your browser. Safely prepare query values, paths and redirect parameters without uploading the source text.

About this tool

The URL encoder applies percent-encoding to text intended for a URL component. Reserved characters and non-ASCII text are represented safely so they are not confused with separators such as &, =, ? or #.

How to use

  1. Enter the text or component value that will appear inside a URL.
  2. Select Convert to percent-encode reserved and Unicode characters.
  3. Insert the encoded result into the appropriate query parameter or path component.

Features

  • Encodes Unicode text using UTF-8 percent sequences.
  • Protects component values from being interpreted as URL separators.
  • Runs locally and returns a copy-ready result.

Common use cases

  • Encode search terms and query parameter values.
  • Place a return URL inside another URL safely.
  • Prepare filenames or text fragments for URL paths.

Common issues and tips

  • Encode individual values rather than blindly encoding an entire URL with its scheme and separators.
  • Double encoding changes % into %25 and often causes values to decode only once.

Privacy

URL encoding is performed locally and the entered text is not uploaded.

Frequently asked questions

Should I encode the complete URL?

Usually no. Encode each path segment or query parameter value, while preserving structural characters such as :, /, ?, & and =.

Why does a space become %20?

Percent-encoding represents a space byte as %20. Form encoding may use + instead, but the two formats are not identical everywhere.

What is double encoding?

It happens when an already encoded value is encoded again, turning a sequence such as %2F into %252F.

Related tools