ilovetoolboxilovetoolbox
  • All Tools
  • Tools
  • Blog
  • Pricing
  • About
  • Contact
All ToolsExplore 100+ free tools

Browse categories

View all

Other pages

BlogTips, guides and updatesPricingAboutLearn more about usContactGet in touch with us

Free tools. No hassle. Just get things done.

How to encode a URL in 3 steps

  1. 01

    Paste your text or URL

    Type or paste the text, link or query string you want to encode into the input box.

  2. 02

    Choose the encoding type

    Encode a full URL or only a part of it, such as a query value. The encoded result appears instantly.

  3. 03

    Copy the encoded result

    Copy the encoded text with one click and use it in your link, API request or code. It’s free with no sign-up.

Frequently asked questions

URL encoding, also called percent-encoding, replaces unsafe characters in a URL with a percent sign and a code. For example, a space becomes %20. This keeps links valid and readable by browsers and servers.

Paste your text or URL into the box and the encoded result appears right away. Copy it and use it wherever you need. It’s free and needs no sign-up.

URLs can only contain a limited set of characters. Spaces, symbols and non-English letters must be converted so the link works correctly and doesn’t break.

Spaces, quotes, angle brackets and special characters such as & ? = # and / may be encoded, depending on the mode. Letters, numbers and - _ . ~ stay the same.

Encoding a full URL keeps characters like : / ? and & so the link still works. Encoding a component, such as a query value, encodes those characters too.

Yes. Non-English text and emoji are converted to UTF-8 percent-encoded values, so they work safely inside a URL.

A space is encoded as %20 in standard URLs. Some form data uses a plus sign instead.

Yes. Encode each query value before adding it to an API request, so special characters don’t break the URL or change its meaning.

No. Your text is encoded in your browser and is not saved or shared with anyone.

Yes to both. The tool is completely free, and it works in any modern browser on phone, tablet or desktop.

Related searches

url encoderurl encodeurl encode onlineencode urlencode url onlineurl encoder onlinefree url encoderpercent encodingpercent encoding onlineurlencodeuri encoderurl encoding toolencode special characters in urlurl string encoderencode query stringurl encode space

Related tools

URL Decoder

Decode percent-encoded URLs and text back to readable form. Copy the result in one click.

Password Generator

Generate strong, random passwords instantly. Choose length, numbers, symbols and copy with one click.

QR Code Generator

Create free QR codes for URLs, text, WiFi and contacts. Download as PNG or SVG.

Schema Generator

Generate JSON-LD schema markup for FAQ, article, product, local business and more. Copy the code in one click.

ilovetoolboxilovetoolbox

Free online tools to compress, convert, merge, edit and sign PDFs, images, video and audio. 100+ fast, secure tools that run in your browser — no sign-up, no watermark.

  • 100% Free Forever
  • Secure & Private
  • Fast Processing
  • Easy to Use

Categories

  • Images
  • PDF
  • Calculators
  • Web Tools
  • Text
  • Downloaders

Company

  • Blog
  • About
  • Pricing
  • Contact
  • All Tools

Legal

  • Privacy Policy
  • Terms and Conditions
  • Cookie Policy
  • Refund Policy
  • Disclaimer
  • Acceptable Use Policy
  • Copyright & DMCA

© 2026 ilovetoolbox. All rights reserved.

100% Free
Secure
No Sign Up Required
HomeToolsWeb ToolsURL Encoder

URL Encoder

Encode text and URLs into a safe format with percent-encoding. Copy the result in one click.

000123456789
Input characters
000123456789
Output characters
000123456789
Encoded sequences

Encoding mode

Encodes everything except letters, digits and - _ . ! ~ * ' ( ). Best for query values and path parts.

Options

Encode each line separately
Strict mode — also encode ! ' ( ) *
Trim surrounding whitespace

Text or URL

Encoded result