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 sample

Direct 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 length32 characters
Special charactersSpaces (encoded as %20 in URLs)
EncodingASCII

What to check

After your application has processed sample file name with spaces.txt, confirm that:

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 namesample file name with spaces.txt
FormatTXT (Plain text)
Extension.txt
MIME typetext/plain
Size34 bytes (34 B)
KindText
SHA-2560176bc2e8d7adbfc24ed0eacf521e160deb0a110f2afb6b0a3cdde4c32c610d7
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 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' # macOS

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

TXT format reference

Where it fits

Related files

All curated sample files