Dummy TXT File Generator
Every dummy TXT file is plain ASCII text with real line breaks, cut to the exact byte size you set.
Sample TXT files, ready to download:
One click, exact size (1 KB = 1,024 bytes), default options, built in your browser.
A dummy TXT file is a plain text file made for testing: Lorem ipsum paragraphs with real line breaks. Download one free at the exact size you need, from 1 Byte to 50 MB. It is the simplest file you can test with, and that is the point. When a text upload fails, you know the format is not the problem. For data in columns, use a dummy CSV file.
How we check it: every generated file must be exactly the size you set and pass UTF-8 and line-break checks; the last run on 21 October 2026 passed 155 of 155 runs across 17 formats (how the files are made and checked).
What is inside a dummy TXT file
Nothing but readable text (how we build and check these files):
- Lorem ipsum paragraphs and a short note saying the file was generated by DummyFiles.com, repeated in blocks.
- ASCII characters only, which is also valid UTF-8. No byte order mark, LF line endings and no line longer than 80 characters.
- The file always ends with a newline. To hit the exact size, the last line can be cut short.
- A 1-byte file is a single newline character.
What a dummy TXT file is used for
Upload limits
Text attachments, log uploads and notes fields all have size limits. Test them with the most boring file possible.
Line-based parsing
Check readers that split on newlines, count lines or stream a file line by line.
Storage and transfer
Copy large text files through storage, sync and backup tools and compare the byte count at both ends.
Encoding baseline
Pure ASCII is the safest text there is. If this file breaks, the bug is not about encoding.
Make a text file of an exact size
Type the size, set the unit to Bytes if you need an exact count, and generate. The file is exactly that long: 1,048,576 bytes for 1 MB. Command-line tools can make files of a given size too (the guides show how), but those are usually zeros or random bytes, not readable text.
Testing an upload limit with a text file
Make three files around the limit: one byte under, exactly at it and one byte over. Text compresses extremely well, and this file repeats one block, so a 10 MB file gzips to a few kilobytes. If your client compresses the upload, the bytes on the wire are far below the file size, so check the limit on the server against the decoded body.
| Limit | Size | Notes |
|---|---|---|
| nginx client_max_body_size (default) | 1 MB 1,048,576 B | Requests with a larger body get HTTP 413. |
| PHP upload_max_filesize (default) | 2 MB 2,097,152 B | Also capped by post_max_size, so raise both. |
| AWS Lambda synchronous invocation payload | 6 MB 6,291,456 B | Applies to request and response. |
| Amazon API Gateway REST API payload | 10 MB 10,485,760 B | Hard quota for REST APIs. |
| Outlook default attachment limit (Exchange accounts) | 10 MB 10,485,760 B | Administrators can change it. |
| Outlook attachment limit (internet accounts) | 20 MB 20,971,520 B | Per Microsoft Outlook guidance. |
| Gmail message size limit | 25 MB 26,214,400 B | Attachments grow about a third when encoded, so a 20 MB file can already be too big. |
TXT file details
- Extension
- TXT .txt
- MIME type
- text/plain
- Smallest size
- 1 Byte
- Largest size
- 50 MB
- Contents
- Plain UTF-8 filler paragraphs with line breaks, exact to the size you choose
Dummy TXT file FAQ
What is inside the dummy TXT file?
Lorem ipsum paragraphs with line breaks and a short note about where the file came from, repeated to fill the size you chose.
Can I make a 1-byte text file?
Yes. Set the size to 1 and the unit to Bytes. The file is a single newline character.
Which line endings does it use?
LF (Unix-style) line endings only, no CR characters. Lines are shorter than 80 characters.
Is the text file UTF-8?
Yes. It contains only ASCII characters, which are valid UTF-8, and has no byte order mark.
How large can a dummy TXT file be?
From 1 Byte up to 50 MB, exact to the byte.
Is my file uploaded?
No. The text is generated in your browser and never sent to a server.