🧾 TEXT TO URL • 100% PRIVATE

Text to URL — Free, in Your Browser

Every developer hits this eventually: a space in a search term, a & in a query parameter, a non-ASCII character in a redirect URL — and the link silently breaks.

Why convert Text to URL

Every developer hits this eventually: a space in a search term, a & in a query parameter, a non-ASCII character in a redirect URL — and the link silently breaks. URL encoding is the fix, and doing it in your browser means you are not pasting potentially sensitive query strings (session tokens, customer IDs) into an external form just to percent-encode them.

Paste the raw text and get the percent-encoded form: spaces become %20, symbols get their codes, and UTF-8 multibyte characters are encoded correctly as byte sequences — the form servers actually expect.

How to do it (3 steps)

  1. Paste the text or query string.
  2. The encoded output updates instantly.
  3. Copy it into your link, form action or code.

Technical note

This uses the same encoding rules as every browser (percent-encoding per RFC 3986 with UTF-8 byte expansion for non-ASCII). The practical trap it saves you: encoding an entire URL when you meant to encode only one parameter will mangle the :// and the slashes. Encode the *value*, paste it into the *position* — the tool encodes exactly what you give it, which is the right behaviour for both jobs.

The mistake worth avoiding

The common mistake is encoding at the wrong level of the URL. Encode the parameter value — the space in the search text, the ampersand in the filter — then place it in the query string. Never encode the entire URL, which turns the protocol slashes into percent codes and the link into a dead one. The same trap in the other direction: pasting an already-encoded value double-encodes it, and servers that decode only once leave you with literal percent-twenty in the result. If the output looks like double-escapes, you encoded something that was already encoded.

FAQ

URL Encoder/Decoder — full tool →

More conversions

URL to TextAll converters →
🔒
100% PrivateEverything runs in your browser. Your data never touches a server.
⚡
Instant & FreeNo signup, no paywall, no limits. Fast on any device.
💬
Questions?Read our About page or contact us — I read every message and reply personally.
⌘ESC