URL Encode and Decode
Encode text for safe use in URLs and query strings, or decode percent-encoded values from API responses and browser address bars.
Last reviewed: 2026-07-23
Processed locally in your browser. Nothing is sent to a server.
Character count: 0 · Word count: 0 · Line count: 0
How to use
- Choose encode or decode mode.
- Paste your text or encoded string.
- Copy the result.
Examples
Encode a query value
Input
hello world
Output
hello%20world
What gets encoded
Spaces become %20, ampersands become %26, and non-ASCII characters expand to UTF-8 byte sequences. Encode individual query values — not the entire URL including protocol and slashes.
Frequently asked questions
Is my data uploaded?+
No. Code and data tools run locally in your browser whenever possible.