Text QR Code Generator - Free, Instant & No Sign-Up

Generate a text QR code instantly — type any string, customise size and colour, download PNG or SVG. Free, runs in your browser, no data uploaded.

Fill in the fields to generate your QR code.
Download PNG

Generated in your browser — nothing is uploaded.

Turn any text into a scannable QR code in seconds

Type or paste any text — a note, a coupon code, a phone number, a secret message — and this text QR code generator turns it into a scannable image instantly. No account needed, no watermark, completely free.

Everything happens in your browser. Your text is never uploaded to any server, so sensitive content stays private on your device.

How to use this text QR code generator

  1. Type your text into the input field above. It can be anything: a word, a sentence, a string of numbers, or a short paragraph.
  2. Adjust size and colours if you want. Pick a foreground and background colour, and drag the size slider to make the QR larger or smaller.
  3. Preview updates live — the QR code redraws as you type, so you always see the latest version.
  4. Download as PNG or SVG. PNG is great for documents, presentations, and printing. SVG scales perfectly to any size without going blurry.
  5. Test it with your phone camera before using it anywhere important. Any modern smartphone can scan a QR code with the built-in camera app.

QR codes generated here are free to use for personal or commercial purposes. They never expire — the data is encoded directly into the image, with no link, redirect, or third-party service involved.

Worked example

Say you are printing name badges for an event and want each badge to carry a scannable code that reveals the attendee's seat number. Your input might look like this:

SEAT-B12 | Hall 3 | Session: UX Design Workshop

The generator encodes that exact string into the QR pattern. When someone scans it, their phone displays:

SEAT-B12 | Hall 3 | Session: UX Design Workshop

Nothing more, nothing less — the raw text appears on screen. No app is required to scan it; the standard iOS or Android camera app handles it natively.

How to generate a text QR code in code

If you need to automate QR code creation — for example, generating hundreds of codes from a spreadsheet — here are the simplest ways to do it in two popular languages.

Python (using the qrcode library)

# pip install qrcode[pil]
import qrcode

img = qrcode.make('SEAT-B12 | Hall 3 | Session: UX Design Workshop')
img.save('badge_b12.png')

That single call encodes the text and saves a PNG. The qrcode library on PyPI also supports colour, error-correction level, and SVG output with a few extra lines.

JavaScript (Node.js, using qrcode npm package)

// npm install qrcode
const QRCode = require('qrcode');

QRCode.toFile(
  'badge_b12.png',
  'SEAT-B12 | Hall 3 | Session: UX Design Workshop',
  { width: 300 },
  (err) => { if (err) throw err; console.log('Done'); }
);

The same package works in the browser too (it renders to a <canvas> element), which is exactly how this tool generates your QR code client-side.

How it works

A QR code (short for Quick Response code) is a 2-D barcode defined by the ISO/IEC 18004 standard. It stores data as a grid of black and white squares, plus built-in error-correction that lets it remain scannable even if part of the image is damaged or obscured.

For plain text, the generator encodes your string using the QR byte mode, which supports any UTF-8 characters. The tool uses the QR error-correction level M by default (recovers up to 15% damage), which is a good balance between data capacity and scan reliability.

Longer text produces a denser QR code — more squares, so harder to scan at small sizes. Keep text under ~300 characters for reliable scanning from a normal printing distance. The ISO standard supports up to 2,953 bytes in byte mode.

When to use a plain-text QR code — and when not to

Use plain-text QR when… Use a different type when…
You want to display a short message, code, or reference number on screen The text is a website address — use a URL QR code so phones open the link automatically
You're encoding machine-readable data (serial numbers, ticket IDs, asset tags) You're sharing Wi-Fi credentials — a WiFi QR code connects the phone in one tap
You need a simple, no-redirect, offline QR that never breaks You're sharing contact details — a vCard QR code lets people save them directly to contacts
You want the scanned result to be raw text, not a clickable action You need payment or WhatsApp deep-links — use the dedicated UPI or WhatsApp QR types

Tips for the best scan results

  • Keep contrast high. Black on white scans fastest. If you use custom colours, make sure the foreground is much darker than the background.
  • Add quiet zone. Leave a small white border around the QR when placing it in a design. Crowding it against other elements hurts scan rates.
  • Print at least 2 × 2 cm. Anything smaller gets unreliable at a normal arm-length scan distance.
  • Use SVG for print. Download the SVG version so it stays razor-sharp at any size, from business cards to posters.
  • Test before publishing. Always scan the saved file — not just the on-screen preview — with a real device.

Your text QR code is ready the moment you finish typing — hit the download button above and you're done.

Frequently asked questions

Is my text uploaded to a server when I generate the QR code?+
No. Everything runs entirely in your browser using JavaScript. Your text never leaves your device, so it's safe to encode passwords, internal reference codes, or any other sensitive content.
Do text QR codes expire?+
Never. The text is encoded directly into the image pixels — there's no link, no redirect, and no third-party service behind it. The QR will scan correctly as long as the image exists and is readable.
How much text can I put in a QR code?+
The ISO/IEC 18004 standard allows up to 2,953 bytes in byte mode, but practically you should keep it under 300 characters. Longer text creates a much denser, harder-to-scan pattern — especially when printed small.
What is the difference between a text QR code and a URL QR code?+
A URL QR code tells the phone to open a web page automatically when scanned. A text QR code just displays the raw string on screen — no browser opens, no action is triggered. Use text mode when you want the reader to see the content directly, not follow a link.
Is this tool really free? Do I need to sign up?+
Completely free, no account required, no watermark. You can download as many QR codes as you like in PNG or SVG format and use them for personal or commercial projects.
Can I customise the colour of my QR code?+
Yes — the tool lets you change both the foreground (dark squares) and background colours. Just make sure there's strong contrast between the two; low-contrast colour combinations often fail to scan reliably.
What format should I download — PNG or SVG?+
PNG is fine for digital use (slides, emails, websites). Choose SVG if you're printing — it's a vector format that scales to any size without blurring, perfect for business cards, posters, or packaging.
Can I generate text QR codes in bulk from a spreadsheet or script?+
This browser tool handles one at a time. For batch generation, use the Python qrcode library or the Node.js qrcode package — both accept a list of strings and can save individual files in a loop. See the code examples above for the basic setup.