Blog
Image Tools
Crop Image
Resize Image
Rotate & Flip
Compress Image
Photo Filters
Meme Generator
GIF Maker
Collage Maker
Watermark Image
Blur Image
Convert
JPG to PNG
PNG to JPG
HEIC to JPG
DNG to JPG
Image Converter
PDF to JPG
JPG to PDF
Merge PDF
Compress PDF
MP4 to MP3
Video to GIF
MOV to MP4
MP3 Converter
Video & Audio
Trim Video
Crop Video
Remove Audio
Text to Speech
Audio Cutter
MP3 Compressor
Design & Editor
Resume Builder
Design Editor
Add Text to Photo
Social Media Resizer
QR Code Generator
Signature Generator
More Tools
Word Counter
Password Generator
Random Picker
Dice Roller
Spinner Wheel
Favicon Generator
Barcode Generator
Browse All Tools

URL Encode

Make text safe to put in a web address. Spaces, accents, symbols and emoji are turned into percent codes such as %20, so links and query strings work everywhere. Encode a single value, or a whole address while keeping its slashes and question marks.

100% Free
No Sign-up
%20 or +
Whole Address Mode
Private · Nothing Saved Online
URL Encode
Your Text
Input Characters—
Output Characters—
Lines In → Out—
Input Words—
Type or paste in the input box, or open a file. The result updates as you type.
Decode a URL
Text or addressType, paste or drop a file
Encoded
Input—
Result—
Status—
Settings forYour text
What Are You Encoding?
A value encodes everything, including / ? & =, for use inside a query string. A whole address keeps those characters so the link still works.
Spaces
+ is used by web forms. %20 works everywhere.
File Name

How to URL Encode Text

Quick answer: paste your text, choose A value or A whole address, and copy the encoded result.

  1. 1

    Paste your text

    A value or a whole web address.

  2. 2

    Choose the mode

    Value or whole address.

  3. 3

    Pick space style

    %20 or +.

  4. 4

    Copy the result

    Use it in your link.

What You Get

Instant
As you type
Two Modes
Value or address
UTF-8
Accents and emoji
%20 or +
Your choice
Private
Nothing is uploaded
Any Device
Phone or computer

What Is URL Encoding?

Web addresses may only contain a limited set of characters. Others, such as spaces, accented letters, emoji, and symbols like & or #, must be written as percent codes: a % sign followed by two hexadecimal digits for each byte. A space becomes %20, é becomes %C3%A9 and & becomes %26. This is called URL encoding or percent-encoding, and browsers, servers and apps all understand it.

A Value or a Whole Address?

A value encodes everything except letters, digits and - _ . ! ~ * ' ( ). Use it for text that goes inside a query string or a path segment, such as a search term, a redirect address or a name. Characters such as / ? & = are encoded so they cannot be mistaken for parts of the address.

A whole address keeps the characters that give an address its structure, such as : / ? # & =, and only encodes spaces and other unsafe characters. Use it to clean up a complete link that contains spaces or accents.

%20 or +?

Both mean a space, but in different places. HTML forms send spaces as + in query strings, and many servers expect that. %20 is valid everywhere, including paths, so it is the safest default. Choose + only when a system specifically wants form-style encoding.

Example

Encoding "café & bakery" as a value gives caf%C3%A9%20%26%20bakery. As part of a link such as https://example.com/search?q=café & bakery, whole address mode gives https://example.com/search?q=caf%C3%A9%20&%20bakery, keeping the ? and = in place. To read encoded links, use URL Decode.

Who Uses URL Encoding?

Developers building links and calling web services, marketers creating tracking links with campaign values, SEO specialists checking addresses with special characters, support staff sharing search links, and anyone pasting text into a link that must survive being sent by email or chat without breaking.

Good to Know

Never encode text twice: an already encoded %20 becomes %2520 when encoded again, which breaks the link. If your text already contains percent codes, decode it first. Letters, digits and the characters - _ . ~ are never changed because they are always safe. Characters are encoded as UTF-8, the standard used by all modern browsers and servers, so accented letters and emoji work in every language.

Step by Step

Decide first whether you are encoding a single value, such as a search term or a redirect address, or a complete link. Paste the text, pick the matching mode, and choose %20 unless the receiving system needs + for spaces. Copy the encoded text and place it in your link. Test the link once in your browser to make sure it opens the page you expect.

To encode many values at once, put each on its own line; every line is encoded separately and the line breaks are kept.

Private, Free and Instant

The encoder is free and handles long text and long lists of links. There is no sign-up, no limit and nothing to install. Everything runs inside your browser, so passwords, tokens, customer data and private messages are never uploaded, logged or stored anywhere. The result updates instantly as you type or paste, and you can open a text file from your device and download the result as a new file. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.

Encoding URLs: Which Characters Need to Be Escaped

Only letters, digits and a few symbols may appear in a URL as they are. Others are replaced by percent codes so that links work in every browser and server.

Examples

  • Space becomes %20.
  • & becomes %26 inside parameter values, so it does not split parameters.
  • Non-English letters become UTF-8 bytes, for example é as %C3%A9.

Common mistakes

Encoding an entire URL, including the https:// part, breaks it. Encode only the values you add. To read an encoded link, use URL decode.

Frequently Asked Questions

Questions about URL encoding

How do I URL encode text?

Paste the text and copy the encoded result.

What is the difference between the two modes?

A value encodes every reserved character; a whole address keeps characters like / ? & = so the link still works.

Should spaces be %20 or +?

%20 works everywhere. Use + only for form-style query strings.

Why did %20 become %2520?

The text was encoded twice. Decode it first, then encode once.

Does it support accents and emoji?

Yes. They are encoded as UTF-8 percent codes.

Is my text sent anywhere?

No. Encoding and decoding happen in your browser on your own device. Nothing is uploaded or stored.