1 KB INI sample file
An INI file of exactly 1,024 bytes. It is a valid INI configuration file file, generated for this site and checked with an independent parser.
Download
- Type
- text/plain
- SHA-256
686875f6831f8af23a9e3330ecd130ee00ba19dfdb48bcf34660e4c2532d18f1- Direct URL
https://sampletestfiles.com/downloads/ini/sample-ini-1kb.ini
What is in this file
A [general] section and 8 numbered sections of key = value pairs. Semicolon comment lines at the end bring the file to the exact size.
| Sections | 9 |
|---|---|
| Comment style | Semicolon |
| Key separator | = |
| Encoding | UTF-8 (ASCII characters only) |
How the file begins
The opening lines of sample-ini-1kb.ini, exactly as they appear in the file.
; SampleTestFiles sample INI file (1 KB)
[general]
generator = SampleTestFiles
environment = test
[record-1]
name = Ethan Zeller
email = ethan.zeller1@example.com
plan = team
active = true
balance = 2769.84
[record-2]
name = Elena UnderhillPreview
Shows the file contents.
Where 1 KB matters
The smallest practical test file: 1,024 bytes, small enough to travel in a single network packet. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| Ethernet | 1,500 bytes (typical MTU) | A 1 KB payload fits in one packet with its headers. |
| Browser cookies | 4,096 bytes per cookie | 1 KB is well inside the limit; the 5 KB sample is over it. |
Use this file for
- Smoke tests in CI that must run in milliseconds
- Testing configuration readers
- Checking migration to YAML or TOML
Testing notes for INI
- Because nothing is standardised, test with the exact parser you ship; a file that one library accepts another may reject.
Technical details
| File name | sample-ini-1kb.ini |
|---|---|
| Format | INI (INI configuration file) |
| Extension | .ini |
| MIME type | text/plain |
| Size | 1,024 bytes (1 KB) |
| Kind | Text |
| SHA-256 | 686875f6831f8af23a9e3330ecd130ee00ba19dfdb48bcf34660e4c2532d18f1 |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Available on this page |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Configuration |
Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked
Download from the command line and verify
Fetch the file with curl, then compare its checksum with the SHA-256 value above.
curl -o sample-ini-1kb.ini 'https://sampletestfiles.com/downloads/ini/sample-ini-1kb.ini'
sha256sum sample-ini-1kb.ini # Linux
shasum -a 256 sample-ini-1kb.ini # macOSOn Windows, run Get-FileHash sample-ini-1kb.ini -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
Related files
Questions about this file
- Is this file exactly 1 KB?
- Yes. It is 1,024 bytes, which is 1 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 1 KB INI file?
- A [general] section and 8 numbered sections of key = value pairs. Semicolon comment lines at the end bring the file to the exact size.
- Which comment style do the samples use?
- Semicolons, which the widest range of parsers accept.