# Binary or ASCII STL?

Choose binary STL. It is much smaller and faster to read, and both forms can describe the same triangles. Use ASCII, or text, STL only when a person or program needs to read its numbers.

## Compare them

| | Binary | ASCII text |
| --- | --- | --- |
| Data for each triangle | 50 bytes | Often 200 to 300 bytes |
| Opens in a text editor | No | Yes |
| Coordinates | 32-bit numbers | Written as text |
| Best for | Normal use | Testing and learning |

A binary STL has an 80-byte header, a 4-byte triangle count and 50 bytes per triangle. A million triangles therefore need about 50 MB. A text version can be several times larger.

## Is ASCII more accurate?

It can contain more digits. Most printing programs turn those values into normal decimal numbers, and a printer cannot use such tiny differences. A text exporter can also save too few digits.

## Find the type

Do not rely only on the first word. Text STL starts with `solid`, but a binary header can also start with that word. A good reader also checks the triangle count and file size.

To make a smaller binary STL, open the file in the [STL viewer](https://stlviewer3d.com/), choose **Convert** and download STL. For an even smaller file, try 3MF.

## Questions

### Does binary STL lose quality?

It uses 32-bit coordinates. This is enough for normal parts unless they are extremely far from zero or very large.

Source: https://stlviewer3d.com/guides/binary-vs-ascii-stl/
