Skip to content
Home → All Tools → Text Tools → URL Encoder & Decoder
TEXT TOOLS

URL Encoder & Decoder

Encode text for URL components or decode percent-encoded URL text.

Use the tool

Enter your values below. Results are calculated in your browser.

About this URL Encoder & Decoder

URL Encoder & Decoder helps when text contains spaces, punctuation or non-ASCII characters that need to travel safely inside a URL component.

Formula or method

Encoding uses percent-encoding for a URL component; decoding converts valid percent sequences back to text.

Example

“hello world?” encodes to “hello%20world%3F”.

Common uses

  • Encode query-string values.
  • Decode copied percent-encoded text.
  • Check how special characters are represented in URLs.

How to use this tool

  1. Enter the values or text requested by the calculator.
  2. Choose units or options when the tool provides them.
  3. Select the calculation button and review the result.
  4. Use the formula, example and notes on this page to check whether the result fits your situation.

Important note

Use this for URL components such as query values, not as a full URL validator.

Frequently asked questions

Does this encode an entire URL?

It uses component-style encoding. Full URLs may contain reserved characters that should remain structural.

What happens with invalid encoded text?

The tool reports an error instead of guessing.