Text to QR Code

Turn any text into a code that shows the text when scanned.

Version 2 code, 25 × 25 modules. Always test-scan before printing.

Look

Last reviewed:

How much text fits in a QR code

The largest QR code, version 40, holds up to 7,089 digits or 2,953 bytes of general text, depending on what you store and the error correction level. Digits are packed most tightly. Next comes a compact mode for 45 characters: the digits, capital letters A to Z, space and $ % * + - . / :. Everything else, including lowercase letters, is stored as bytes.

Maximum capacity of a version 40 code
ContentLow (7%)Medium (15%)High (25%)Highest (30%)
Digits only7,0895,5963,9933,057
Capitals, digits and a few symbols4,2963,3912,4201,852
Any text (bytes)2,9532,3311,6631,273

This generator accepts up to 2,000 characters. That limit keeps codes scannable; in practice, much shorter text is better, as the next section shows.

Longer text means a denser code

Plain English text at Medium error correction
CharactersVersionGrid
50433 × 33
100641 × 41
3001369 × 69
5001785 × 85
1,00026121 × 121
2,00038169 × 169
Module size = Printed width ÷ (Modules per side + 8)

Example: Two notes printed on the same 5 cm (2 in) sticker

  1. 100-character note: 50 mm ÷ (41 + 8) = 1.02 mm per module
  2. 1,000-character note: 50 mm ÷ (121 + 8) = 0.39 mm per module

The long note's modules are less than half the size, so it needs a steadier hand, better light and a closer phone. Cut the text or print larger.

Writing codes and labels in capitals can help. In tests on this generator, a 34-character shelf label in capitals (SN: A7-4421-XK WAREHOUSE 3 SHELF B) made a version 2 code, while the same label in lowercase needed version 3.

Non-English text and emoji

General text is stored in UTF-8, where characters take different amounts of space. Plain English letters take one byte each, but most other scripts take two or three, so the same number of characters makes a bigger code.

CharactersBytes eachExamples
Unaccented English letters, digits, basic punctuation1A, z, 7, ?
Accented Latin, Greek, Cyrillic, Arabic, Urdu, Hebrew2é, ñ, Ж, ب
Hindi, Chinese, Japanese, Korean3क, 中, あ, 한
Most emoji4 (flags take 8)Smileys, animals, food

So a 300-letter note in Urdu needs about 600 bytes, and 2,000 Chinese characters (6,000 bytes) won't fit in any QR code. Very old scanner apps sometimes show non-English text as garbled symbols, so test with the phones your readers are likely to use.

Labeling boxes and equipment

Text codes shine on things you store and forget. A code on each moving box or storage bin lets you check the contents without opening anything, even in a basement with no signal. The trick is to write just enough to find what you need.

Example: Two versions of a storage box label

  1. Short: “Box 14: winter clothes, boots, gloves” (37 characters), version 3 at Medium
  2. Detailed: a 105-character list with sizes and the packing date, version 6 at Medium, or version 10 at Highest

The short label makes a simple code that scans easily even when small. The detailed one at Highest has nearly twice as many modules per side (57 versus 29), so give it a bigger sticker or trim the list.

Number the boxes in the text too. A short label with a box number, plus a master list kept on your phone, often works better than trying to fit everything into each code.

Writing text that reads well on a phone

The text appears in a small pop-up or preview, so write for a phone screen. Put the most important line first, keep sentences short and use line breaks between items. A label like “Water heater. Serviced 2026-03-02. Call the office: +1 416 555 0100” beats a paragraph.

If the content will change, a text code is the wrong tool, since printed codes can't be edited. Use a link QR code to a page you can update instead. For guest Wi-Fi details, the Wi-Fi QR code lets phones join directly instead of showing the password as text. To check length before you generate, paste your note into the Character Counter.

Sources and further reading

How to use it

  1. 1Type or paste the text.
  2. 2Keep it short for a simpler, easier-to-scan code.
  3. 3Download the code.

Questions

How much text fits?

Up to about 2,000 characters, but shorter text makes a simpler code that scans faster.

Do these QR codes expire?

Never. The information is stored inside the code itself, not on a server, so it keeps working forever and nothing is tracked.

PNG or SVG?

SVG stays perfectly sharp at any size, so use it for print and signage. PNG is easiest for documents, slides and social posts.

Also handy: Word Counter, Character Counter, Countdown Timer to Any Date