Skip to content

TXT File to QR Codes

Drop in a plain text file where each line holds a link or a piece of text, and get one QR code per line. You can also paste the list instead. It suits lists that already exist as .txt files, such as exports, logs or link collections.

Paste up to 500 lines. Each non-empty line becomes one code.

#000000
#ffffff

6 valid · 0 invalid · 6 total

  • 1. https://example.com/item/1

  • 2. https://example.com/item/2

  • 3. https://example.com/item/3

  • 4. https://example.com/item/4

  • 5. https://example.com/item/5

  • 6. https://example.com/item/6

Your data stays on your device.

How does it work?

  1. 1Upload your .txt file or paste its contents; one entry per line.
  2. 2Check the preview and fix any line that is flagged.
  3. 3Set the look of the codes: colours, size and error-correction level.
  4. 4Download a ZIP of PNGs, a ZIP of SVGs or a PDF of the whole set.

What is QR Codes from a TXT File?

A TXT file is the simplest container for a list: no columns, no formatting, just lines of text. Each non-empty line becomes one static QR code holding exactly that text, so a file with 200 lines gives 200 separate codes.

This is the natural choice when a list is generated by something else, for example a script that writes URLs, a content management system export or a notes app. Instead of copying it into a text box, you use the file as it is.

Save the file as plain text, ideally with UTF-8 encoding so that accents and non-Latin scripts are read correctly. Make sure every URL is complete, including https://, because a code holds only the characters it is given and the scanner cannot add a missing protocol reliably.

When should you use it?

  • You have a URL list from a website audit or a sitemap and want a printable code for each page.
  • A script or database produces one identifier per line and you need matching codes for packaging or shelves.
  • You keep a list of resources, such as links to manuals, in a text file and want to attach each one to a machine or product.
  • A colleague sends you a .txt file and you would rather not open it and copy line by line.

A clean list of URLs

Write each address on its own line without bullet points or numbering, since those characters would be encoded too.

Remove duplicates if you do not need two identical labels, and check that no line contains stray spaces at the end.

Privacy

This tool runs in your browser. What you type, paste or open is processed on your device by JavaScript and is not sent to our servers, stored or shared. Your data stays on your device.

Frequently Asked Questions

What does the tool do with blank lines?

Empty lines have nothing to encode, so they should not be counted as entries. Removing them from the file beforehand keeps the numbering of your codes predictable.

Is my file uploaded?

No. The file is read by your browser and the codes are generated on your device.

Can I add a caption under each code?

This tool encodes the text of each line. If you need a caption such as a name or a SKU next to each code, keep your data in a CSV file and use the CSV tool with column mapping.

Will a very long line work?

A QR code can hold several thousand characters, but the more it holds, the denser and harder to scan it becomes. For printed codes, prefer short links and keep long text for on-screen use.