QRStyles

TXT File to QR Code

Pick a .txt file (or paste text) and the text goes straight into the QR code. Short files only: a code holds about 2,000 characters at most. Nothing leaves your device.

Short text only. If your file is longer than about 2,000 characters, upload it to Google Drive and use the link-to-QR tools instead.

Style, logo and text
Printable sign (optional)

🔒 Generated locally in your browser. Nothing is sent to any server.

TXT File to QR Code: how it works

  1. Click “Choose a .txt file”, or paste the text in the box.
  2. Check the preview. If a red message says the text is too long, shorten it or lower the error correction to Low.
  3. Download the PNG or SVG.
  4. Scan it with a phone to confirm the text reads correctly.

How much text fits

At the lowest error correction level a code holds up to about 2,900 characters of plain English text, but fewer with accents or Chinese (each such character uses more than one byte). The higher the error correction, the less text fits. For easy scanning, stay under 300–500 characters.

Longer documents

To share a long text, PDF or Word file, upload it to Google Drive, Dropbox or OneDrive, set sharing to “Anyone with the link”, and use our PDF to QR code tool with the share link.

FAQ

Is my file uploaded?

No. The file is read by your browser and turned into a QR code on your device.

Which encoding does it need?

Save the file as UTF-8, which is the default in most editors. Accents, ñ and other languages are then preserved.

What happens when someone scans it?

Most phone cameras show the text and let the person copy it. If the text is a link, the phone may offer to open it.

More QR code tools