Free STL sample, test and dummy files

The standard file for 3D printing: a bare list of triangles, as text or as binary. Download valid STL test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.stl
MIME type
model/stl
Kind
Text
Category
3D Models

Create a STL file of any size

Choose any size from 40 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

STL files by size

Every file below is a valid STL 3D model (stereolithography) file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.

STL sample files by size
FileSizeContentsDownload
1 KB STL samplesample-stl-1kb.stl 1 KB1,024 bytes Facets: 8 Download STL
5 KB STL samplesample-stl-5kb.stl 5 KB5,120 bytes Facets: 32 Download STL
10 KB STL samplesample-stl-10kb.stl 10 KB10,240 bytes Facets: 60 Download STL
25 KB STL samplesample-stl-25kb.stl 25 KB25,600 bytes Facets: 144 Download STL
50 KB STL samplesample-stl-50kb.stl 50 KB51,200 bytes Facets: 288 Download STL
100 KB STL samplesample-stl-100kb.stl 100 KB102,400 bytes Facets: 598 Download STL
200 KB STL samplesample-stl-200kb.stl 200 KB204,800 bytes Facets: 1,152 Download STL
500 KB STL samplesample-stl-500kb.stl 500 KB512,000 bytes Facets: 2,880 Download STL
1 MB STL samplesample-stl-1mb.stl 1 MB1,048,576 bytes Facets: 5,848 Download STL
2 MB STL samplesample-stl-2mb.stl 2 MB2,097,152 bytes Facets: 11,532 Download STL
3 MB STL samplesample-stl-3mb.stl 3 MB3,145,728 bytes Facets: 17,328 Download STL
5 MB STL samplesample-stl-5mb.stl 5 MB5,242,880 bytes Facets: 28,710 Download STL
10 MB STL samplesample-stl-10mb.stl 10 MB10,485,760 bytes Facets: 57,528 Download STL
15 MB STL samplesample-stl-15mb.stl 15 MB15,728,640 bytes Facets: 85,656 Download STL
20 MB STL samplesample-stl-20mb.stl 20 MB20,971,520 bytes Facets: 114,226 Download STL
25 MB STL samplesample-stl-25mb.stl 25 MB26,214,400 bytes Facets: 142,274 Download STL
30 MB STL samplesample-stl-30mb.stl 30 MB31,457,280 bytes Facets: 170,312 Download STL
50 MB STL samplesample-stl-50mb.stl 50 MB52,428,800 bytes Facets: 281,872 Download STL
100 MB STL samplesample-stl-100mb.stl 100 MB104,857,600 bytes Facets: 560,896 Download STL

More STL samples

Hand-designed files with realistic content or a specific edge case.

Curated STL sample files
FileSizeContentsDownload
Binary STL cube (12 triangles)sample-cube-binary.stl 684 B684 bytes Triangles: 12 Download STL

What is an STL file?

STL describes the surface of an object as triangles and nothing else. Each triangle is three corner points and a normal vector that says which side faces outwards. The format was created in 1987 for the first stereolithography printers, and every slicer and CAD package still reads and writes it.

There are two encodings. ASCII STL spells each triangle out as text between "solid" and "endsolid". Binary STL has an 80-byte header, a 32-bit triangle count and exactly 50 bytes for each triangle, which makes it about a fifth of the size.

How to recognise an STL file

Software recognises an STL file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.

The first bytes of every file. ASCII files only. A binary STL file has no signature: it begins with an 80-byte header of free text.
Extension.stl
MIME typemodel/stl
Also seen asapplication/sla, application/vnd.ms-pki.stl
Origin3D Systems, 1987
EncodingsASCII (text) and binary
Binary layout80-byte header, 4-byte count, 50 bytes per triangle
Not storedUnits, colour, materials and shared vertices

What to test for

These are the behaviours that most often go wrong when software handles STL files.

Strengths of STL

  • Accepted by every slicer, CAD package and print service.
  • So simple that a reader or writer is a few dozen lines of code.

Limitations of STL

  • No units, colour or materials.
  • Every triangle repeats its corner points, so files are large and shared edges must be rediscovered.

Typical uses of STL test files

  • Testing 3D model upload for print services
  • Checking detection of ASCII and binary files
  • Verifying volume, surface-area and bounding-box calculations
  • Load-testing viewers with large meshes

Software that opens STL

  • Cura, PrusaSlicer and other slicers
  • Blender, FreeCAD and Fusion
  • MeshLab and Windows 3D Viewer
  • trimesh, numpy-stl and three.js

Specifications

Related

STL sample files: questions

Are the STL samples ASCII or binary?
The sized samples are ASCII STL, which can be padded to an exact byte count with blank lines. The curated library adds a binary STL file, a unit cube of 12 triangles.
Can the sample model be 3D printed?
The sized samples are an open, terrain-like surface with no thickness, intended for testing importers and viewers. The binary cube is a closed, watertight solid that a slicer will accept.
What is the MIME type of an STL file?
The MIME type is model/stl. You will also meet application/sla and application/vnd.ms-pki.stl in practice. The file extension is .stl.
Is a sample STL file the same as a dummy or example STL file?
Yes. Sample, test, dummy and example STL files are different names for the same thing: an STL file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy STL file.