URL Encoder

Encode text so it is safe to use inside URLs. "Encode component" percent-encodes everything except unreserved characters (the right choice for query parameters and path segments); "Encode full URI" preserves reserved characters like /, :, and ?. All processing is local.

Privacy: this tool processes your data entirely in your browser. Nothing you paste or type is sent to the server.

Type or paste the text to encode for a URL.

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Query component

  • text = Hello world & more?
  • mode = component

Result: Hello%20world%20%26%20more%3F

Full URI keeps the scheme and slashes

  • text = https://example.com/a b?q=c d
  • mode = uri

Result: https://example.com/a%20b?q=c%20d

Frequently asked questions

What is the difference between the two modes?

Component encoding escapes reserved characters too, so it is right for a single query value. Full-URI encoding leaves reserved characters (/, :, ?, #, &, =) alone, so it is right for encoding an entire address.

Is percent-encoding reversible?

Yes — this tool pairs with the URL Decoder. Characters are represented as %XX sequences that decode back to the original text.

Does the tool handle Unicode?

Yes. Non-ASCII characters are encoded as UTF-8 percent sequences (for example é becomes %C3%A9), matching what server-side encoders produce.

💬 Discuss on BestWordz Community

Join the conversation about Developer, url encode, url encoder on the BestWordz Community forum.

Visit Forum →
Copied!