Plain text with Windows (CRLF) line endings

Twenty numbered lines of ASCII text in which every line ends with a carriage return and a line feed.

Download

sample-text-crlf-line-endings.txt

740 B740 bytes

Download TXT sample

Direct download. No sign-up and no waiting.

Type
text/plain
SHA-256
941ca884d4f2e6f459b722b7c93ebbf43680c93bae01ecdeb71e4ff2876f7b96
Direct URL
https://sampletestfiles.com/downloads/samples/sample-text-crlf-line-endings.txt

Why test with this file

For checking line counting, diffing and normalisation between Windows and Unix conventions.

Lines20
Line endingsCRLF (0D 0A)
EncodingASCII

What to check

After your application has processed sample-text-crlf-line-endings.txt, confirm that:

How the file begins

The opening lines of sample-text-crlf-line-endings.txt, exactly as they appear in the file.

Line 01: this line ends with CR LF.
Line 02: this line ends with CR LF.
Line 03: this line ends with CR LF.
Line 04: this line ends with CR LF.
Line 05: this line ends with CR LF.
Line 06: this line ends with CR LF.
Line 07: this line ends with CR LF.
Line 08: this line ends with CR LF.
Line 09: this line ends with CR LF.
Line 10: this line ends with CR LF.
Line 11: this line ends with CR LF.
Line 12: this line ends with CR LF.
Line 13: this line ends with CR LF.
Line 14: this line ends with CR LF.

Preview

Shows the file contents.

Technical details

File namesample-text-crlf-line-endings.txt
FormatTXT (Plain text)
Extension.txt
MIME typetext/plain
Size740 bytes (740 B)
KindText
SHA-256941ca884d4f2e6f459b722b7c93ebbf43680c93bae01ecdeb71e4ff2876f7b96
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)
CategoryDocuments

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-text-crlf-line-endings.txt 'https://sampletestfiles.com/downloads/samples/sample-text-crlf-line-endings.txt'
sha256sum sample-text-crlf-line-endings.txt     # Linux
shasum -a 256 sample-text-crlf-line-endings.txt # macOS

On Windows, run Get-FileHash sample-text-crlf-line-endings.txt -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

About TXT

Unformatted text with no structure beyond characters and line breaks. The simplest possible upload.

TXT format reference

Where it fits

Related files

All curated sample files