Skip to content

URL Encoder

Percent-encode text for safe use in a URL.

Quick Tool Overview

The URL Encoder percent-encodes text for use in a URL, with two clearly separated modes — one for a single parameter value and one for a complete URL. Confusing those two is the most common URL encoding mistake there is.

What it does
Percent-encodes text for URLs
You give it
A search term, parameter value or full URL
You get back
The correctly encoded string
Best for
Query parameters, API calls and link building
Text Tools Free, unlimited use No sign-up Runs in your browser

About the URL Encoder

A URL can only contain a limited set of characters. Everything else — spaces, ampersands, question marks, accented letters, emoji — has to be percent-encoded, which replaces each byte with a % and two hex digits.

The crucial part is which characters get encoded, and that depends on where the text is going. Encoding a whole URL must leave the slashes, colons and ampersands intact or the URL stops working. Encoding a single query parameter value must encode them, or an ampersand inside the value will split it into two parameters. Getting these the wrong way round is the most common URL encoding mistake, so this tool offers both as separate, clearly labelled modes.

Key features of the URL Encoder

Two explicit modes

Component mode encodes the structural characters; full-URL mode leaves them intact so the address still works.

Space handling choice

%20 for anywhere, or + for a form-style query string — both conventions supported.

Correct UTF-8 escapes

é becomes %C3%A9, two bytes and two escapes, which is what the standard requires.

Double-encoding warning

The tool spots existing percent escapes and warns you before turning %20 into %2520.

Character breakdown

Which characters were encoded and which were left alone, so the mode choice is verifiable.

How to use the URL Encoder

  1. 1

    Paste your text or URL

    A search term, a parameter value or a complete address.

  2. 2

    Choose the mode

    Component mode for a parameter value; full URL mode to keep the structural characters intact.

  3. 3

    Handle spaces

    Encode as %20, or as + for a form-style query string.

  4. 4

    Copy the encoded text

    Ready to paste into a URL, a link or an API call.

Frequently asked questions

Component mode encodes everything that is not unreserved, including / : ? & and =, which is right for a parameter value. Full URL mode leaves those intact so the URL keeps working. Using component mode on a whole URL breaks it.

Reviews of the URL Encoder

What people who use the URL Encoder think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the URL Encoder. It takes half a minute and no account.

Write the first review

More text tools