URL Encode

Choose the destination context before encoding. A URI component and an HTML form value use different space and plus-sign rules.

Encode One Value For Its Context

Enter input to begin.
Open Reverse Tool

Context Changes The Output

InputComponent modeForm mode
Hello WorldHello%20WorldHello+World
a+ba%2Bba%2Bb
a&b=ca%26b%3Dca%26b%3Dc

One Value, Not A Complete URL Validator

Component mode applies UTF-8 percent encoding suitable for one component value; form mode follows URLSearchParams form serialization for one value.

Encoding does not validate a scheme, hostname, redirect destination, path structure, or trust. Assemble complete URLs with an API that understands their component boundaries.

Avoid Double Encoding

  • Encode raw data once at the boundary where its destination is known.
  • Do not encode an already encoded percent sign unless a second layer is intentional.
  • Keep literal + behavior separate from form-space behavior.

Questions About This Tool

Component mode uses %20. Form mode uses +. The correct choice depends on the consuming context.

No. It encodes one value and does not validate URL structure, schemes, or destinations.

No. It represents bytes for a URL context; validation, allowlists, and output handling remain separate.

Read The Supporting Guide

Related Encoding Tools Tasks