TaskEaser
Back to home

Text

URL Encode

Percent-encode text for URLs (encodeURIComponent)

Runs locally in your browser

Input

Output

How it works

Percent-encodes text for safe use in URL query strings and path segments using encodeURIComponent rules—spaces become %20, special characters become %XX sequences.

Who it's for: Frontend developers, API testers, and marketers building tracked links with special characters

Encodes reserved and non-ASCII characters for query parameter values.

Produces output compatible with JavaScript encodeURIComponent and modern browsers.

Updates the encoded string live in the Result panel.

How to use

  1. Paste the raw parameter value or text into the Input field.
  2. Copy the encoded string from the Result section.
  3. Append it to your base URL after ? or & (e.g., ?q=encoded_value).
  4. Decode with the URL Decode tool to verify round-trip accuracy.

Good to know

  • Encode each query value separately—do not encode the entire URL including ? and &.
  • Spaces encode as %20; + is sometimes used for spaces in form encoding but not in encodeURIComponent output.
  • Already-encoded text double-encoded will break searches—decode first if unsure.