Sample favicon ICO (4 sizes)
A Windows icon file that holds the test card at 16, 32, 48 and 256 pixels square, the sizes a favicon.ico normally carries.
Download
sample-favicon.ico
41.4 KB42,424 bytes
Download ICO sampleDirect download. No sign-up and no waiting.
- Type
- image/vnd.microsoft.icon
- SHA-256
144845a0b3fecb0e144625fd4ea97a14eecd3e597fa36efa42e630a6e6b26b63- Direct URL
https://sampletestfiles.com/downloads/samples/sample-favicon.ico
Why test with this file
For testing favicon handling and icon parsers. The small images are stored as bitmaps and the largest as an embedded PNG, so a reader has to support both kinds of entry.
| Images | 4 (16 × 16, 32 × 32, 48 × 48, 256 × 256 px) |
|---|---|
| Colour depth | 32 bits per pixel |
| Bitmap entries | 16, 32, 48 px (BMP with an AND mask) |
| PNG entry | 256 px |
| Transparency | None: every pixel is opaque |
What to check
After your application has processed sample-favicon.ico, confirm that:
- All 4 images are found, with the sizes listed above.
- The 256-pixel image is decoded as PNG; its directory entry gives the width and height as 0, which stands for 256.
- A browser tab shows the icon when the file is served as /favicon.ico.
First bytes of the file
The first 64 bytes of sample-favicon.ico as a hex dump: offset, bytes, then the same bytes as text. The ICO signature is 00 00 01 00.
00000000 00 00 01 00 04 00 10 10 00 00 01 00 20 00 68 04 |............ .h.|
00000010 00 00 46 00 00 00 20 20 00 00 01 00 20 00 a8 10 |..F... .... ...|
00000020 00 00 ae 04 00 00 30 30 00 00 01 00 20 00 a8 25 |......00.... ..%|
00000030 00 00 56 15 00 00 00 00 00 00 01 00 20 00 ba 6a |..V......... ..j|Preview
Displays the file in your browser.
Technical details
| File name | sample-favicon.ico |
|---|---|
| Format | ICO (Windows icon) |
| Extension | .ico |
| MIME type | image/vnd.microsoft.icon |
| Size | 42,424 bytes (41.4 KB) |
| Kind | Binary |
| Signature | 00 00 01 00 |
| SHA-256 | 144845a0b3fecb0e144625fd4ea97a14eecd3e597fa36efa42e630a6e6b26b63 |
| 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 | Images |
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-favicon.ico 'https://sampletestfiles.com/downloads/samples/sample-favicon.ico'
sha256sum sample-favicon.ico # Linux
shasum -a 256 sample-favicon.ico # macOSOn Windows, run Get-FileHash sample-favicon.ico -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.
About ICO
The icon format of Windows and the classic favicon.ico: several sizes of one picture in a single file.
Where it fits
- Web development
Placeholder images, media, data and documents for building and demonstrating web interfaces.
- File parser testing
Well-formed files and deliberate edge cases for testing code that reads CSV, JSON, XML, PDF and more.