Random Text File Generator

Create a TXT file filled with Lorem Ipsum at the size you specify. Choose bytes, KB or MB and use a custom filename or a randomly generated one.

File settings

1 KB = 1,024 bytes. 1 MB = 1,048,576 bytes. Maximum 500 MB. The size must equal a whole number of bytes.

Filename
Privacy-first Files stay in your browser.

How to generate a text file

  1. Enter the file size and select Bytes, KB, or MB.
  2. Choose a random filename or enter your own.
  3. Click Generate file, then download the .txt file.

Exact size, simple text

The file contains repeating Lorem Ipsum text in UTF-8, without a byte order mark. The final sentence or word may be cut short to match your requested size exactly. The text is placeholder content; the random option applies to the filename.

Generation happens entirely on your device. Large downloads depend on the memory available in your browser.

When is a sample text file useful?

Use a generated TXT file to test upload size limits, text importers, or file-splitting workflows. The content is placeholder text, so you can test these flows without using a private document.

More File tools