URL Encoder
Encode text for use in URLs (percent encoding).
How to Use URL Encoder
Paste the text, keyword, filename or full URL into the input box.
Choose whether you are encoding a single value or an entire query string if the tool offers that option.
Click the "Process" button to percent-encode the text and see the result alongside the decoded form.
Copy the encoded string with one click and paste it straight into your link, form or API call.
Features
Frequently Asked Questions
Related Tools
Word Counter
Count the number of words in your text instantly.
Character Counter
Count characters with and without spaces.
Sentence Counter
Count the number of sentences in your text.
Paragraph Counter
Count paragraphs in your text content.
Text Case Converter
Convert text between different cases - upper, lower, title, sentence.
Uppercase Converter
Convert text to UPPERCASE letters.
About URL Encoder
URLs can only carry a restricted set of characters safely, and the moment a space, an ampersand or an accented letter appears in a value, it has to be escaped. Percent encoding replaces each problematic character with a % followed by two hexadecimal digits, so a space becomes %20 and an ampersand becomes %26. The result looks alarming but travels correctly through query strings, form submissions and filenames.
Most people meet it for the first time when a search term is built into a link. If you paste "blue widgets & bolts" into a query string raw, the & is read as the start of a new parameter and everything after it falls apart. Encode it first and the whole phrase arrives intact as a single parameter value. The same applies to the plus sign used for spaces, to question marks, to the equals sign, and to any non-ASCII character in a UTF-8 phrase.
You also need it for filenames in download links, for email addresses placed in a mailto link, and for JSON fragments that need to ride inside a query parameter. Typically a non-encodable character gets converted to its percent-encoded form, while standard URL syntax such as the scheme, slashes and existing parameter names is left alone. Encode one value at a time when you are building a link, and run the entire query string through when you are fixing one that already exists.
When to Use This Tool
- Encoding a search term or keyword before putting it in a query string
- Fixing a link that breaks because a space or ampersand was pasted in raw
- Building a download link for a filename containing spaces or accents
- Putting an email address or a JSON fragment safely into a URL
- Checking a tracking or analytics link before sending it to a client