URL Encoder
Percent-encode a value for use in a URL, or decode one you already have, using the browser's own encoder.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your text, then click “Run tool”.
Type, paste or drop a file
TextLn 1, Col 1Spaces: 2UTF-843 bytes
Output
Encoded value (read-only).
Read-only
TextLn 1, Col 1Spaces: 2UTF-80 bytes
Using the URL Encoder
Overview
Percent-encode a value for use in a URL, or decode one you already have, using the browser's own encoder.
Make a value safe for a query string or path segment when it contains spaces, symbols or non-Latin text — or read one back.
How to use it
- Paste or type your Text into Input, drop a file onto it, or press Example to load a sample.
- Choose the settings in the Mode bar under the editors.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
Text.
Settings
- Mode — Encode, Decode
Output
Encoded value.
- Percent-encode any value
- Decode %XX sequences
- Handles UTF-8 characters
- Uses the browser's own encoder
Tips
- Base64 here is UTF-8 safe, so accented and non-Latin text survives the round trip.
- URL encoding escapes a value for one part of a URL, not a whole URL.
- Decoding refuses input that is not valid, rather than returning something misleading.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar