Text Tools

URL Encoder

Encode text for use in URLs (percent encoding).

How to Use URL Encoder

1

Paste the text, keyword, filename or full URL into the input box.

2

Choose whether you are encoding a single value or an entire query string if the tool offers that option.

3

Click the "Process" button to percent-encode the text and see the result alongside the decoded form.

4

Copy the encoded string with one click and paste it straight into your link, form or API call.

Features

100% free with no sign-up and no limit on the length of the value
Percent-encodes spaces, ampersands, hashes, question marks and UTF-8 characters
Handles full query strings as well as single values
Shows the encoded and decoded forms side by side for verification
Copy the result in one click or download it as a .txt file
Runs entirely in your browser, so URLs and search terms are never uploaded

Frequently Asked Questions

Yes, it is free for unlimited use with no account needed and no restriction on how many values you encode.
No. Encoding happens locally in your browser and nothing is transmitted to or stored on our servers, which also means confidential query parameters stay private.
Both work in a query string, and a plus is conventional for form data. Percent encoding with %20 is safer and more widely accepted, especially in path segments, filenames and JSON, so prefer it unless a form format requires the plus.
Yes. Multi-byte UTF-8 characters such as accented Latin letters, Greek, Cyrillic or emoji are converted to the correct percent-encoded byte sequence rather than being dropped.

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