Skip to content
Engineering File Tools

What Is a STEP File? Format, Application Protocols and Units Explained

Last reviewed November 30, 2026

A STEP file (extension .step or .stp) is a neutral, vendor-independent text file that stores a 3D CAD model as exact geometry: faces, edges and solids described mathematically, not as triangles. The format is defined by the ISO 10303 standard family ("Standard for the Exchange of Product model data"). The file encoding is specified in ISO 10303-21, and the content model comes from an Application Protocol such as AP203, AP214 or AP242. Almost every mechanical CAD system can read and write STEP, which is why it is the default format for sending parts to suppliers, machine shops and customers.

If you just want to look at a file, open it in our STEP Viewer. It runs entirely in your browser, and the file is not uploaded.

STEP in one paragraph: ISO 10303-21 clear-text encoding

ISO 10303-21, often called "Part 21" or "STEP physical file", defines a plain-text (ASCII) encoding. You can open any STEP file in a text editor and read it. Every line in the data section is an entity instance with a number, a type name and a list of attributes. Entities reference each other by number, so a solid points to its shells, a shell to its faces, a face to its surface and edges, and an edge to its curve and vertices. The Library of Congress keeps a good format description of ISO 10303-21 if you want the archival view.

What the inside of a STEP file looks like

A STEP file has two main sections: a HEADER with metadata and a DATA section with the model. Here is a heavily shortened example:

ISO-10303-21;
HEADER;
FILE_DESCRIPTION(('Bracket'),'2;1');
FILE_NAME('bracket.step','2026-11-30T10:00:00',('Engineer'),('Company'),'','CAD system','');
FILE_SCHEMA(('AUTOMOTIVE_DESIGN'));
ENDSEC;
DATA;
#10=CARTESIAN_POINT('',(0.,0.,0.));
#11=DIRECTION('',(0.,0.,1.));
#12=DIRECTION('',(1.,0.,0.));
#13=AXIS2_PLACEMENT_3D('',#10,#11,#12);
#14=CYLINDRICAL_SURFACE('',#13,10.);
#20=(LENGTH_UNIT()NAMED_UNIT(*)SI_UNIT(.MILLI.,.METRE.));
ENDSEC;
END-ISO-10303-21;

What to notice:

  1. FILE_SCHEMA tells you the Application Protocol. AUTOMOTIVE_DESIGN means AP214. CONFIG_CONTROL_DESIGN is AP203 (first edition); AP242 files declare a schema name starting with AP242_MANAGED_MODEL_BASED_3D_ENGINEERING.
  2. FILE_NAME contains the original file name, a timestamp and usually the exporting CAD system. This is the quickest way to find out where a file came from.
  3. #14=CYLINDRICAL_SURFACE(...,10.) is a cylinder with radius 10 in the file's length unit. It is an exact surface, not a set of facets.
  4. #20 declares the length unit, in this case millimetres.

Real files contain thousands to millions of such lines. A simple bracket may have a few thousand entities; a full machine assembly can reach hundreds of megabytes.

AP203 vs AP214 vs AP242

The Application Protocol defines what a STEP file can contain. For pure geometry exchange, all three work. The differences matter for colours, assemblies and manufacturing information.

AP203AP214AP242
Full nameConfiguration controlled 3D designCore data for automotive mechanical design processesManaged model-based 3D engineering
OriginAerospace / defence, first published 1994Automotive industry, first published 2001Merger of AP203 and AP214, first published 2014
Exact B-Rep geometryYesYesYes
Assemblies / product structureYesYesYes
Colours and layersNot in the first edition; added in edition 2YesYes
Semantic PMI (tolerances, GD&T)NoLimitedYes, the main reason AP242 exists
Typical use todayLegacy systems, defence contractsMost common default export in CAD systemsModel-based definition, long-term archiving, newer CAD exports

AP242 is the long-term successor of both older protocols. In practice, many CAD systems still default to AP214 because every receiver can read it. The CAx Implementor Forum (CAx-IF) publishes recommended practices and interoperability test results for these protocols.

B-Rep vs mesh: why STEP is "exact"

STEP stores geometry as a boundary representation (B-Rep). A solid is defined by its bounding faces. Each face lies on a mathematical surface (plane, cylinder, cone, sphere, torus or NURBS) and is trimmed by edges, which lie on curves.

A mesh format such as STL approximates the same shape with flat triangles. A cylinder of radius 10 mm is a true cylinder in STEP. In STL it is a polygonal prism whose accuracy depends on how many triangles were used.

Consequences:

  • Accuracy: a B-Rep hole of Ø10 mm is exactly Ø10 mm. A meshed hole is slightly smaller, because the facets are inscribed in the true surface.
  • Editability: CAD systems can re-use B-Rep faces for feature recognition, CAM toolpaths and measuring. Meshes are much harder to edit.
  • Display: to show a STEP model on screen, any viewer has to tessellate it, meaning convert it to triangles on the fly. Our viewer does this with Open CASCADE Technology (OCCT) compiled to WebAssembly.

STEP files do not contain the feature history (sketches, extrusions, fillets as editable operations). You get the resulting solid, not the recipe. The guide STEP vs STL covers the mesh side in detail.

.step vs .stp: is there a difference?

No. .step and .stp are two extensions for the same format. The three-letter .stp dates from systems with 8.3 file names; .step is more common today. Some systems also write .p21. If a tool refuses one extension, renaming the file to the other is safe, because the content is identical.

Compressed variants exist too (for example .stpz or zipped files). These must be unpacked before most tools can read them.

Units in STEP files

STEP files carry their unit explicitly. There are two common patterns:

  • SI_UNIT for metric units, for example SI_UNIT(.MILLI.,.METRE.) for millimetres or SI_UNIT($,.METRE.) for metres.
  • CONVERSION_BASED_UNIT for non-SI units such as inches. The file defines the unit name ('INCH') together with a conversion factor relative to an SI unit (25.4 mm).

A correctly written STEP file is therefore unambiguous about scale, unlike STL or many DXF files. A cylinder radius written as 10. means 10 mm in a millimetre file and 10 inches (254 mm) in an inch file.

Our tools rely on OCCT to convert all lengths to millimetres on import. Example: a 100 × 50 × 20 mm box exported from an inch-based CAD system is stored as 3.937 × 1.969 × 0.787 in, and our viewer still shows 100 × 50 × 20 mm. If dimensions look wrong by a factor of 25.4 or 1000, the exporting system most likely wrote an incorrect unit declaration.

Assemblies and product structure

A STEP file can contain one part or a complete assembly. Assemblies are expressed through PRODUCT and NEXT_ASSEMBLY_USAGE_OCCURRENCE entities, plus placement transforms that position each component. The same part can be instanced many times, for example 24 identical screws, while its geometry is stored only once.

Two things to be aware of:

  1. Single file vs external references. Most exports put all parts into one file. Some CAD systems can write an assembly as a top-level file that references separate part files. If you receive only the top-level file, it contains structure but no geometry. Our viewer does not resolve external references and shows nothing in that case.
  2. Part names. Component names come from the PRODUCT entities. In our STEP Viewer, they appear in the part tree when the file contains a product structure.

What is PMI?

PMI (Product and Manufacturing Information) is everything on a drawing beyond pure geometry: dimensions, geometric tolerances (GD&T), datums, surface finish, welding symbols and notes. Traditionally PMI lived on a 2D drawing. With model-based definition, it is attached directly to the 3D model.

STEP supports PMI in two flavours:

  • Graphical PMI (presentation): annotation lines and text that look right on screen but are not machine-readable.
  • Semantic PMI (representation): tolerances as structured data linked to specific faces, so CAM and inspection software can use them.

AP242 is the protocol designed for semantic PMI. Our viewer reads AP242 geometry but does not display PMI or annotations.

Limitations of our STEP tools

  • Supported: .step and .stp files using AP203 and AP214; AP242 geometry is generally readable. PMI is not shown.
  • The bounding box in the viewer is approximate, because it is derived from the tessellated mesh. There is no measuring tool and no exact B-Rep volume.
  • Recommended file size is 50 MB or less on desktop and 15–20 MB on mobile. Browser memory use is roughly 25–30 times the file size.
  • External referenced part files are not supported.
  • Everything runs locally via occt-import-js and three.js, so nothing is uploaded.

Next steps