# STL File Won't Open? How to Tell an Empty, 0 KB or Broken STL Apart

> Why an STL file won't open: three quick checks, ten broken test files and what each one shows, and the fix for empty, cut-off and mislabelled files.

Source: https://freestlviewer.com/blog/stl-file-wont-open/  
Published: November 27, 2026 · Updated: November 27, 2026

**Short answer:** look at three things. The **size**: 0 bytes means the file is
empty, and exactly 84 bytes means it holds no triangles. The **first bytes**:
open the file in a text editor, and if you see `<!DOCTYPE html>`, `PK` or lines
starting with `v`, it is a web page, a ZIP archive or an OBJ, not an STL. And for
a binary STL, the **size arithmetic**: the size minus 84 must divide by 50. If it
does not, the file was cut off. The fix is almost always to download or export
the file again.

To see how each fault looks, we made ten files named `.stl`, one intact and nine
broken in the ways real files break, and opened each one in the
[online viewer](https://freestlviewer.com/). The [test pack](https://freestlviewer.com/blog/stl-wont-open/broken-stl-test-pack.zip)
(330 KB, CC BY 4.0) has all ten.

## Three checks that find most problems

### 1. The file size

| Size | What it means |
|---|---|
| 0 bytes | Nothing was written. The download, copy or sync never delivered the contents. |
| 84 bytes | A binary STL header with a triangle count of zero: the exporter wrote no triangles. |
| A few hundred bytes to a few KB | Too small for most models; often a web page or an error message saved under the model's name. |
| Larger than expected or far smaller than the site says | A different file, or a download that stopped part way. |

### 2. The first bytes

Open the file in a plain text editor (Notepad, TextEdit), or show its first
bytes in a terminal: `head -c 32 model.stl | xxd` on Mac and Linux, or
`Format-Hex .\model.stl | Select-Object -First 2` in Windows PowerShell.

| The file starts with | It is |
|---|---|
| `solid`, followed by lines of `facet normal` and `vertex` | An ASCII STL |
| Any 80 bytes, then numbers you cannot read | A binary STL (its header can say anything) |
| `PK` | A ZIP archive, or a 3MF, which is a ZIP inside |
| `<!DOCTYPE html` or `<html` | A web page saved by mistake |
| `#` comments and lines starting with `v` and `f` | An OBJ |
| `ply` | A PLY |
| `glTF` | A GLB |
| `ISO-10303-21` | A STEP file |
| Only zeros | Nothing useful; storage or sync failed |

### 3. The size arithmetic (binary STL)

A binary STL is 80 bytes of header, a 4-byte triangle count, and exactly 50
bytes per triangle ([how binary and ASCII STL are laid out](https://freestlviewer.com/blog/binary-vs-ascii-stl/)).
So **size − 84 must be divisible by 50**. Our intact test pawn is 508,884 bytes:
84 + 50 × 10,176 triangles. The same file cut off at 300,000 bytes leaves a
remainder of 16, so something is missing. An ASCII STL has no such rule; instead
its last line must be `endsolid`.

## Ten test files and what the viewer shows

The viewer shows one of two messages when a file fails, and they point at
different problems. **"This file could not be read as a 3D model"** means the
bytes are not a readable STL at all. **"The file contains no 3D geometry"** means
the file was read but held no triangles.

| Test file | Size | (size − 84) mod 50 | Viewer result | What is wrong |
|---|---|---|---|---|
| `00-good-binary.stl` | 508,884 B | 0 | Opens: 10,176 triangles, 24 × 24 × 36.4 mm | Nothing |
| `01-empty-0-bytes.stl` | 0 B | – | Could not be read | Empty file |
| `02-zero-triangles-84-bytes.stl` | 84 B | 0 | No 3D geometry | Header only, zero triangles |
| `03-download-cut-off.stl` | 300,000 B | 16 | Could not be read | Binary file cut off |
| `04-web-page.stl` | 293 B | 9 | Could not be read | HTML sign-in page |
| `05-zip-renamed.stl` | 92,975 B | 41 | Could not be read | ZIP archive with the STL inside |
| `06-obj-renamed.stl` | 186 B | 2 | Could not be read | OBJ file |
| `07-ascii-cut-off.stl` | 1,540,395 B | 11 | No 3D geometry | ASCII file cut off before `endsolid` |
| `08-solid-header-cut-off.stl` | 300,000 B | 16 | No 3D geometry | Binary file with a `solid` header, cut off |
| `09-all-zero-bytes.stl` | 100,000 B | 16 | No 3D geometry | 100 KB of zero bytes |

Tested on 27 November 2026 in the freestlviewer.com viewer, which reads STL with
three.js's STLLoader; other programs may react differently to the same file.

## Causes and fixes

### An empty or 0 KB file

The file exists, but its contents never arrived. Common reasons:

- **An interrupted download or copy.** Download it again, and compare the size
  with the one the site shows.
- **A cloud folder that only holds a placeholder.** iCloud Drive, OneDrive and
  Google Drive can list a file before its contents are on your device. Open it
  from the cloud app first, or mark it to keep a copy on the device.
- **A messaging or email app that dropped the attachment.** Ask for a link to a
  file-sharing service instead.

An STL of exactly **84 bytes** is a different case: the exporter worked, but had
no triangles to write. That usually means nothing was selected when an option
such as Selection Only was ticked. Select the part and export again; our guides
for [Blender](https://freestlviewer.com/blog/blender-export-stl/), [SketchUp](https://freestlviewer.com/blog/sketchup-export-stl/),
[Fusion 360](https://freestlviewer.com/blog/fusion-export-stl/) and [Shapr3D](https://freestlviewer.com/blog/shapr3d-export-stl/)
cover each exporter's options.

### A download that stopped part way

A cut-off binary STL still says, in its header, how many triangles it should
have, and the data runs out before that. Many programs refuse it, as our viewer
does. Download it again; if the site offers a ZIP, download that instead, because
a damaged ZIP is reported as damaged when you extract it.

### A file that is not really an STL

- **A web page.** If a model site needs you to sign in, a "save link as" can
  save the sign-in page under the model's name. The file is tiny and starts with
  `<!DOCTYPE html>`. Sign in and download it from the site's own button.
- **A ZIP archive.** Model sites often pack the STL with pictures and a licence.
  If the file starts with `PK`, rename it to `.zip`, extract it and open the STL
  inside.
- **Another 3D format.** A 3MF, OBJ, STEP or GLB with an `.stl` name will not
  load as STL. Rename it to its real extension: the [online viewer](https://freestlviewer.com/) opens all
  of these, and the [3D file converter](https://freestlviewer.com/3d-file-converter/) turns them into STL
  if your slicer needs one.

### An ASCII STL cut off before the end

An ASCII STL lists every triangle as text and ends with `endsolid`. Our cut-off
copy still holds 60% of the pawn's triangles, but because `endsolid` is missing,
the viewer reads nothing from it. Other programs may keep the triangles before
the cut, which gives a model with a missing part. Export it again, preferably as binary,
which is about five times smaller.

### A damaged binary file whose header starts with "solid"

Some exporters begin a binary STL's 80-byte header with the word `solid`. While
the size arithmetic works out, many programs, ours included, still recognise
the file as binary.
Once the file is damaged, they fall back to reading it as text, find no
triangles and report an empty model. Fix the file the same way as any cut-off
download.

### A file of zero bytes

A file the right size but full of zeros was never really written: storage or a
sync failed. Copy it again from the original source or a backup.

### A file that is too big

The viewer opens files up to 200 MB. Larger STL files are almost always scans or
models exported with a very fine tolerance; slicers struggle with them too.
Reduce the triangle count in Blender or MeshLab
([triangle count and file size](https://freestlviewer.com/blog/triangle-count-and-file-size/)).

### A file that opens but shows nothing, or a dot

If the file opens without an error but the model is a tiny speck, it is in the
wrong units: an STL exported in metres or inches and read as millimetres. See
[STL units: millimetres vs inches](https://freestlviewer.com/blog/stl-units-mm-vs-inches/).

## Can a broken STL be repaired?

Repair tools fix problems in a mesh that is all there: holes, [flipped normals](https://freestlviewer.com/blog/flipped-normals-stl/),
non-manifold edges. Our [STL repair tool](https://freestlviewer.com/stl-repair/) does that in the browser.
None of them can bring back triangles that are missing from the file. In a
cut-off binary STL, the triangles before the cut are intact, and a tool that
rewrites the triangle count can save them as a partial model, but the honest
fix for a missing or broken file is a fresh copy. For the checks to run once the
file does open, see [how to open STL files](https://freestlviewer.com/blog/how-to-open-stl-files/) and the
[pre-print checklist](https://freestlviewer.com/blog/pre-print-checklist/).

## Frequently asked questions

### Why won't my STL file open?

Usually the file is not a complete STL: it is empty, the download was cut off, or it is really a web page, a ZIP archive or another format with an .stl name. Check the file size, look at its first bytes in a text editor, and for a binary STL check that the size is 84 plus a multiple of 50 bytes.

### Why is my STL file 0 KB?

A 0 KB file has nothing in it. The usual causes are a download or copy that stopped before it started writing, a cloud-synced file whose contents were never downloaded to the device, or an app that dropped the attachment. Download or export the file again.

### How can I tell if an STL file is corrupted?

A binary STL is always exactly 84 bytes plus 50 bytes per triangle. If the file size minus 84 is not divisible by 50, the file is incomplete or not a binary STL. An ASCII STL must start with solid and end with endsolid; open it in a text editor to check the last line.

### What does 'The file contains no 3D geometry' mean?

The viewer could read the file but found no triangles in it. That happens with an 84-byte STL whose header says zero triangles, an ASCII STL cut off before endsolid, a file of zero bytes left by a failed sync, and a damaged binary file whose header starts with the word solid.

### Can a corrupted STL file be repaired?

Only partly. Repair tools fix holes and other mesh errors, but they cannot bring back triangles that are missing from the file. In a cut-off binary STL the triangles before the cut are intact, so the model can be rescued as a partial mesh, but downloading or exporting it again is the real fix.
