URL Encoder
Convert text into a URL-safe form by percent-encoding special characters.
Runs in your browser · No uploads
Your browser is too old to run this tool. Please update it, or use a current version of Chrome, Edge, Firefox or Safari.
- Nothing leaves your device
- No server-imposed size limits
- No sign-up, no watermark
- Free
How to URL-encode text
- Type or paste your text.
- Choose Part of a URL (component) or Whole URL.
- Copy the encoded result.
Component or whole URL?
| Mode | Use it for | Encodes / ? & = # |
|---|---|---|
| Part of a URL (component) | A single query value or path segment | Yes |
| Whole URL | A complete address that contains spaces or non-English characters | No |
Is my text sent anywhere?
No. Encoding happens in your browser.
Frequently asked questions
Should spaces become %20 or +?
%20 works everywhere. + means a space only in query strings sent by HTML forms; turn on the option if the receiving system expects it.
Is my text uploaded?
No. Everything runs locally.