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

sample-ini-1kb.ini

1 KB1,024 bytes

Download 1 KB INI

Direct download. No sign-up and no waiting.

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.

Sections9
Comment styleSemicolon
Key separator=
EncodingUTF-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 Underhill

Preview

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:

SystemLimitNote
Ethernet1,500 bytes (typical MTU)A 1 KB payload fits in one packet with its headers.
Browser cookies4,096 bytes per cookie1 KB is well inside the limit; the 5 KB sample is over it.

All 1 KB sample files

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.

INI format reference

Technical details

File namesample-ini-1kb.ini
FormatINI (INI configuration file)
Extension.ini
MIME typetext/plain
Size1,024 bytes (1 KB)
KindText
SHA-256686875f6831f8af23a9e3330ecd130ee00ba19dfdb48bcf34660e4c2532d18f1
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewAvailable on this page
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryConfiguration

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 # macOS

On 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.