URL Encoder
Percent-encode URLs for safe transmission.
About URL Encoder
URL Encoder is a free online tool. Percent-encode text so it can be used safely inside URLs and query strings. It runs entirely in your browser, so there is nothing to install, no account to create and no watermark added to your result.
How to use URL Encoder
- Enter or paste your input.
- Press the button to encode.
- Copy the result.
Worked example
The text "coffee & tea" becomes coffee%20%26%20tea so it can sit safely in a query string.
Tips for best results
- Encode only the value, not the whole URL, or you will also encode the slashes and question marks.
- Everything runs in your browser, so you can use URL Encoder even on a slow connection once the page has loaded.
Limits to keep in mind
- Encoding is not encryption. Anyone can reverse it, so never use it to protect secrets.
Frequently asked questions
More free developer tools
UUID Generator
Generate RFC 4122 v4 UUIDs in bulk.
JSON Formatter
Beautify, validate and minify JSON instantly.
JSON Validator
Check JSON for syntax errors with clear messages.
CSV to JSON
Convert CSV data into structured JSON arrays.
JSON to CSV
Convert JSON arrays into CSV spreadsheets.
HTML Minifier
Compress HTML by removing whitespace and comments.
Related guides
UUIDs Explained: Versions, Collisions and How to Generate Them
What a UUID is, how version 4 and version 7 differ, why collisions are practically impossible and how to use them as database keys.
2 minBase64 Explained: What It Is, Why It Exists and What It Is Not
How Base64 turns bytes into text, why it adds about a third to the size, where you will meet it and why it is not encryption.
2 minMD5 vs SHA-256: Which Hash Should You Use?
Understand what hash functions do, why MD5 and SHA-1 are considered broken for security and which tool to use for checksums and passwords.