TXT File Generator
A text file of an exact size, in UTF-8, with or without a BOM, or in windows-1251.
What to create
Settings
Files
Three encoding options are available, and each behaves differently:
- UTF-8 — the current standard choice;
- UTF-8 with BOM — the same bytes, but with a marker at the start. Without it, Excel displays Cyrillic characters as unreadable symbols, and some parsers treat the marker as part of the first word;
- windows-1251 — a single-byte encoding still used for exports by 1C and legacy systems.
A Cyrillic letter in UTF-8 takes two bytes, so "so many characters" and "so many bytes" are different things. The size here is counted in bytes, and the cut is made on a character boundary: a 5,000-byte file remains valid text instead of breaking off in the middle of a letter.
Rate this tool
Help us get better
Tell us what was missing.
Other tools
Business Name Generator
Company names by industry or from your own word.
Random Name Generator
Random English names with a middle name, age and date of birth.
Username Generator
Builds usernames from meaningful words on a topic, not random letter strings.
QR Code Generator
Links, Wi-Fi, contact cards and more, saved as PNG, SVG or PDF
Barcode Generator
EAN-13, EAN-8, UPC-A, Code 128, Code 39 and ITF-14 as PNG or SVG
Corrupt File Generator
Corrupt a file to test an uploader: one kind of damage per file, with a descrip…
Promo Code Generator
Builds a batch of unique promo codes by length or pattern: no look-alike charac…
Random Word Generator
Random words with settings: part of speech, length, first letter, topic.