URL Encoder
URL-encode any text or string instantly in your browser. Free online URL encoder / percent-encoder for query strings, parameters and data URLs — no uploads.
Enter the values below, then press Calculate (or press Enter). The calculator updates your results instantly. Try different values to see how your inputs change the outcome.
- Text / URL to encode — enter a value. A typical Text / URL to encode would be Paste the string to percent-encode….
- Review your results — the key output is highlighted, with supporting figures below.
Loading calculator…
Results
| Detail | Value |
|---|---|
| Input length | |
| Encoded length |
What is this calculator for?
Percent-encode a string so it can be safely placed inside a URL (query parameters, hash, or path) without breaking the URL syntax.
How to Use This Calculator
Enter the values below, then press Calculate (or press Enter). The calculator updates your results instantly. Try different values to see how your inputs change the outcome.
- Text / URL to encode — enter a value. A typical Text / URL to encode would be Paste the string to percent-encode….
- Review your results — the key output is highlighted, with supporting figures below.
What You'll Need
- Text / URL to encode
- a value · required
About This Calculator
This URL encoder percent-encodes any string so it is safe to embed in a URL. It uses encodeURIComponent, the strict form that encodes every reserved character.
Spaces become %20, and other unsafe or reserved characters like &, =, ?, #, and non-ASCII or emoji characters are converted to their percent-encoded byte form. This is the technique used to build query strings where user text must not be interpreted as URL syntax.
Everything runs locally in your browser — your input is never uploaded.