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 sampleDirect 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.
| Lines | 20 |
|---|---|
| Line endings | CRLF (0D 0A) |
| Encoding | ASCII |
What to check
After your application has processed sample-text-crlf-line-endings.txt, confirm that:
- A line counter reports 20 lines, not 40 and not 1.
- The byte count is unchanged after a round trip, so no conversion to LF took place.
- Diff tools do not flag every line as modified.
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 name | sample-text-crlf-line-endings.txt |
|---|---|
| Format | TXT (Plain text) |
| Extension | .txt |
| MIME type | text/plain |
| Size | 740 bytes (740 B) |
| Kind | Text |
| SHA-256 | 941ca884d4f2e6f459b722b7c93ebbf43680c93bae01ecdeb71e4ff2876f7b96 |
| 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 | Documents |
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 # macOSOn 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.
Where it fits
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.