Skip to main content
Takes a single piece of text and makes it safe to drop into a URL, encoding any characters that have a special meaning, such as spaces, ampersands, and slashes. Use this when you need to place a value inside a web address, for example a search term in a query string. It works on one text value at a time and has no settings. To encode a whole set of key=value pairs at once, use the form URL encoded formatter instead.

Sample data

Input:
"color=blue & size=large/medium"
Output:
"color%3Dblue+%26+size%3Dlarge%2Fmedium"
Each special character was replaced with its URL-safe code: spaces became +, = became %3D, & became %26, and / became %2F.