A stereolithography file is a 3D model saved in a format that 3D printers can read and use to build objects layer by layer
A stereolithography file, usually named with a .STL extension, contains instructions for a 3D printer. Instead of telling a printer how to arrange ink on paper, an STL file tells a printer how to build a solid object by stacking thin layers of material on top of each other. The file describes the shape of an object as a collection of tiny triangles that map out every surface — think of it as a mathematical description of what something looks like from every angle.
The name comes from the first 3D printing technology that used this file format. Stereolithography printers use a laser to harden liquid resin one layer at a time. Today, many different types of 3D printers — including those that use plastic filament, powder, or metal — can read and print from STL files. If you want to 3D print something, you almost certainly need an STL file first.
Key Takeaways
- An STL file contains a 3D shape broken down into thousands of tiny triangles that a 3D printer can understand and build.
- You can get STL files by downloading them from websites like Thingiverse or MyMiniFactory, or by creating your own using 3D design software.
- Before printing, you usually need to open the STL file in slicing software, which converts it into instructions your specific printer can follow.
- STL files work with most types of 3D printers, from resin printers to filament-based machines, making them the standard format across the industry.
Where STL files come from
You can obtain an STL file in three main ways. The easiest is to read one from a file-sharing site. Websites like Thingiverse, MyMiniFactory, and Printables host thousands of free and paid STL files for objects ranging from toys and tools to replacement parts and decorative items. You search for what you want, read the file to your computer, and you are ready to print.
The second way is to create one yourself using 3D design software. Programs like Fusion 360, Blender, and TinkerCAD let you build a 3D model from scratch or modify an existing one. When you finish designing, you export the file as an STL. This approach takes more time and skill but gives you complete control over what you are printing.
The third way is to convert a physical object into a digital file using a 3D scanner. A scanner photographs an object from many angles and uses software to reconstruct it as a 3D model, which you can then save as an STL. This is less common for home users but is standard in manufacturing and product design.
How a 3D printer reads an STL file
An STL file by itself does not directly control a printer. Before printing, you must open the file in slicing software — programs like Cura, PrusaSlicer, or Chitubox. The slicer reads the 3D shape and cuts it into hundreds or thousands of horizontal layers, each one a fraction of a millimeter thick. It then calculates the exact movements your printer needs to make to build each layer.
The slicer also lets you adjust settings like how fast the printer moves, how much material to use, and whether to add support structures underneath overhanging parts. Once you have configured everything, the slicer converts the STL into a new file format specific to your printer — often a .gcode file for filament printers or a .cbddlp file for resin printers. That final file is what actually goes into your printer.
The difference between STL and other 3D file formats
STL is the oldest and most widely supported 3D printing format, but it is not the only one. Other formats include OBJ, which can store color and texture information that STL cannot; 3MF, a newer format that includes more detail about materials and how parts fit together; and STEP, which is common in engineering and manufacturing. For most home 3D printing, STL remains the standard because nearly every printer and slicer software supports it.
The main limitation of STL is that it only describes the outer surface of an object, not internal details or material properties. If you need to print something with specific colors, textures, or complex internal structures, you might need a different format. However, for basic 3D printing — making a plastic toy, a replacement knob, or a prototype — an STL file is usually all you need.
How to check if an STL file will work with your printer
Before you read or create an STL file, check the specifications of your 3D printer. The most important limits are the size of the build platform (the area where the printer can actually print) and the maximum height it can print. If your printer's build platform is 200 by 200 millimeters, any object larger than that in any direction will not fit and will need to be scaled down or split into multiple pieces.
You can check the size of an STL file by opening it in free viewing software like Fusion 360, Meshmixer, or even some slicing programs. These tools show you the dimensions of the object and let you rotate it to see what it looks like. If the object is too large, you can scale it down in the slicer before printing. If it is too small and you scale it up, the details may become rough or unclear, so there is a practical limit to how much you can enlarge a file.
Common problems with STL files and how to fix them
Not every STL file is ready to print when ready. Some files have small errors — missing surfaces, holes, or inverted faces — that can cause the printer to fail or produce a weak object. Free repair tools like Netfabb, Fusion 360, and Meshmixer can detect and fix many of these issues automatically. Most slicing software also includes repair features that catch problems before you send the file to your printer.
Another common issue is that an STL file may not include support structures for overhanging parts. If your design has a section that sticks out horizontally without anything underneath it, the printer cannot build it in mid-air. Your slicer software can generate supports automatically, but they will need to be removed by hand after printing. Some designs are easier to print than others depending on their shape and orientation on the build platform.
Frequently Asked Questions
Can I edit an STL file if I do not know how to use 3D design software?
Yes, using free tools like Meshmixer or Fusion 360. These programs let you scale, rotate, combine multiple files, or make straightforward cuts without needing advanced skills. For more complex changes, you would need to learn 3D design software or hire someone to modify it for you.
What happens if I print an STL file that is too large for my printer?
The printer will either refuse to start or print only the part that fits on the build platform, leaving the rest unprinted. Always check the object dimensions against your printer's build platform size before slicing. You can scale the file down in your slicer software to make it fit.
Do I need to pay to read STL files?
Many are free, but some creators charge for their designs. Sites like Thingiverse and Printables offer thousands of free files, while others like Cults3D and MyMiniFactory have both free and paid options. Check the license before downloading to understand how you can use the file.
Can the same STL file work on different types of 3D printers?
Yes, the STL file itself is universal. However, you need different slicing software for different printer types — resin printers use different slicers than filament printers. The STL file stays the same; only the software that prepares it for printing changes.