File name with spaces
A small text file whose name contains four spaces.
Download
sample file name with spaces.txt
34 B34 bytes
Download TXT sampleDirect download. No sign-up and no waiting.
- Type
- text/plain
- SHA-256
0176bc2e8d7adbfc24ed0eacf521e160deb0a110f2afb6b0a3cdde4c32c610d7- Direct URL
https://sampletestfiles.com/downloads/samples/sample%20file%20name%20with%20spaces.txt
Why test with this file
Catches unquoted shell arguments, broken Content-Disposition headers and URLs that are not percent-encoded.
| File name length | 32 characters |
|---|---|
| Special characters | Spaces (encoded as %20 in URLs) |
| Encoding | ASCII |
What to check
After your application has processed sample file name with spaces.txt, confirm that:
- The stored and displayed name still contains spaces, not plus signs or %20.
- The download arrives with the complete name, not cut at the first space.
- Scripts that process the file quote the path correctly.
How the file begins
The opening lines of sample file name with spaces.txt, exactly as they appear in the file.
This file has spaces in its name.
Preview
Shows the file contents.
Technical details
| File name | sample file name with spaces.txt |
|---|---|
| Format | TXT (Plain text) |
| Extension | .txt |
| MIME type | text/plain |
| Size | 34 bytes (34 B) |
| Kind | Text |
| SHA-256 | 0176bc2e8d7adbfc24ed0eacf521e160deb0a110f2afb6b0a3cdde4c32c610d7 |
| 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 file name with spaces.txt' 'https://sampletestfiles.com/downloads/samples/sample%20file%20name%20with%20spaces.txt'
sha256sum 'sample file name with spaces.txt' # Linux
shasum -a 256 'sample file name with spaces.txt' # macOSOn Windows, run Get-FileHash 'sample file name with spaces.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 upload testing
Test an upload form or endpoint with files of every size and type it should accept, and several it should refuse.
- Download testing
Files of exact size for testing download speed, range requests, resuming and integrity.