Introduction
SKP is the native file of SketchUp, a 3D
modelling program popular in architecture, interior design and woodworking. SketchUp
was first released by @Last Software in August 2000. Google bought @Last Software on
14 March 2006, and Trimble bought SketchUp from Google on 1 June 2012. A model is built
from edges and faces, organised into groups and components, with materials, layers
(now called tags) and saved scenes. SketchUp also keeps a backup of the previous save
with the extension .skb, in the same format.
Every SKP file starts with the same two strings: SketchUp Model and the
version of SketchUp that saved it, such as {8.0.3117}. What follows them
has changed twice. Versions that only add to the file share a format; a version that
changes structures already in the file starts a new one. So SketchUp 3 to 2016 write
one format, SketchUp 2017 to 2020 a second, and SketchUp 2021 and later a third, each
described here as a format of its own with its own reference.
The format is proprietary and Trimble does not publish its layout. Other programs mostly read and write it through the SketchUp SDK, Trimble’s C library. Open-source readers have reverse-engineered both containers (see Links). The details on these pages come from those sources and from the files examined for this site, and many fields are still unknown.
A .skp file dropped on any page of this site opens in the explorer, which
shows its structure: the header, the classes and options of an older file, or the
members of the ZIP archive in a newer one, with the model’s thumbnail.
Variations
| Format | Variation | About | Open |
|---|---|---|---|
.SKP | SketchUp 3 to 2016 model | The classic MFC CArchive file: a class version map, a PNG thumbnail and the object stream. | Open |
.SKP | SketchUp 2017 to 2020 model | The classic CArchive file with persistent IDs on every entity and two more model fields. | Open |
.SKP | SketchUp 2021 and later model | The “versionless” format: a short header, then a ZIP archive holding model.dat and XML. | Open |
All three start with the same 32 bytes: the CString marker FF FE FF, the
length 14 and SketchUp Model in UTF-16LE. The version string after it, in
braces, gives the release that saved the file. The bytes after the version say which
format it is, and the explorer tries the parser for each in turn.
00000000 FF FE FF 0E 53 00 6B 00 65 00 74 00 63 00 68 00
00000010 55 00 70 00 20 00 4D 00 6F 00 64 00 65 00 6C 00
SketchUp 3 to 2016
The classic file. After the two strings come a GUID, a further string and the time of the save, then an MFC CArchive object stream. Its first object is a version map, listing every class the model may use with the version of its layout. The model’s own fields, a PNG thumbnail, the option groups and the rest of the objects follow.
Files from SketchUp 7, 8, 2015 and 2016 were examined and decode completely. Files from 3 to 6, 2013 and 2014 were not available; they follow skppy’s schema gates, which skppy-tests checks against fixtures SketchUp’s own SDK saves, and differ in the early fields of the model and in the layouts of many classes.
To tell it apart: there is no VFF after the version, the version map
comes after the header, and in it the class CEntity has a version below
5.
SketchUp 2017 to 2020
The same classic container, but SketchUp 2017 changed blocks that were already in
it. CEntity went from schema 3 to 5: every entity gained a sparse
persistent ID (a mask byte and one byte per set bit). The root model gained a u64
next_persistent_id. A reader for the older files loses its place in
these.
Files from SketchUp 2017 and 2018 were examined and decode completely. Files from 2019 and 2020 were not available; they follow skppy’s schema gates.
To tell it apart: as above, but CEntity has schema 5 or more.
SketchUp 2021 and later
A new container. After the two strings come 13 bytes starting VFF, then a
ZIP archive holding the thumbnails, materials and styles as PNG and XML, and the
model itself as a tree of tagged values in model.dat. Trimble’s SDK calls
it the “versionless” file format: every SketchUp since 2021 writes it, and SketchUp
2021 can open files saved by later versions, so all of them share one format.
Files from SketchUp 2022 and 2023 were examined.
To tell it apart: VFF straight after the version, then PK 03
04.
Versions
Every major release, with the format its files are written in. The version text is what the file’s second string holds, without the braces. SketchUp was made by @Last Software until 2006, by Google from 2006 to 2012 (as Google SketchUp) and by Trimble since. From 2013 releases are named by year, and the major number is the year’s last two digits. Months are given where a source records them; otherwise only the year. The last column lists the versions of the files examined for this site.
| Release | Released | Version text | Format | Files seen |
|---|---|---|---|---|
| SketchUp 1.0 | August 2000 | not known | not known | none |
| SketchUp 2 | 2001 | not known | not known | none |
| SketchUp 3 | about 2002 to 2003 | 3.x | SketchUp 3 to 2016 (schemas from skppy; no real file seen) | none |
| SketchUp 4 | 2004 | 4.x | SketchUp 3 to 2016 (schemas from skppy; no real file seen) | none |
| SketchUp 5 | 2005 | 5.x | SketchUp 3 to 2016 (schemas from skppy; no real file seen) | none |
| Google SketchUp 6 | January 2007 | 6.x | SketchUp 3 to 2016 (schemas from skppy; no real file seen) | none; the 2008 Fab Lab notes describe a 6.4.112 header with the same fields |
| Google SketchUp 7 | November 2008 | 7.x | SketchUp 3 to 2016 | 7.0.10247 |
| Google SketchUp 8 | September 2010 | 8.x | SketchUp 3 to 2016 | 8.0.3117 |
| SketchUp 2013 | 2013 | 13.x | SketchUp 3 to 2016 (schemas from skppy; no real file seen) | none |
| SketchUp 2014 | 2014 | 14.x | SketchUp 3 to 2016 (schemas from skppy; no real file seen) | none |
| SketchUp 2015 | 2014 | 15.x | SketchUp 3 to 2016 | 15.3.329 |
| SketchUp 2016 | 2015 | 16.x | SketchUp 3 to 2016 | 16.1.1449 |
| SketchUp 2017 | November 2016 | 17.x | SketchUp 2017 to 2020 | 17.1.174 |
| SketchUp 2018 | 2017 | 18.x | SketchUp 2017 to 2020 | 18.0.16975, 18.0.19877 |
| SketchUp 2019 | 2019 | 19.x | SketchUp 2017 to 2020 (schemas from skppy; no real file seen) | none |
| SketchUp 2020 | 2020 | 20.x | SketchUp 2017 to 2020 (schemas from skppy; no real file seen) | none |
| SketchUp 2021 | November 2020 | 21.x | SketchUp 2021 and later | none; 21.0.312 and 21.0.332 appear in a later file’s save history |
| SketchUp 2022 | 2022 | 22.x | SketchUp 2021 and later | 22.0.353 |
| SketchUp 2023 | 2023 | 23.x | SketchUp 2021 and later | 23.1.340 |
| SketchUp 2024 | 2024 | 24.x | SketchUp 2021 and later | none |
| SketchUp 2025 | 2025 | 25.x | SketchUp 2021 and later | none |
| SketchUp 2026 | 7 October 2025 | 26.x | SketchUp 2021 and later | none |
Nothing is known of the files of SketchUp 1 and 2, so they are not covered here. The lower bound of the first format is SketchUp 3 because that is the oldest version the SketchUp SDK can write.
Up to SketchUp 2020 each release wrote its own version, and an older SketchUp could not open a newer file; Save As could write files for some older versions. From 2021 on the releases share a format by Trimble’s own account: the SDK says SketchUp 2021 opens files made by later versions, so 2024 to 2026 are listed under it although no file from them was examined. Users on SketchUp’s forum report that SketchUp 2024 no longer saves to older versions; this has not been confirmed from Trimble.
Not described
Trimble has never published the SKP format. These pages follow the public reverse-engineering projects (skppy, openskp-rs) and SketchUp's own SDK headers, and the parts below are still unknown.
Unknown
- Reference and viewer: about 100 tags that SketchUp’s own tag dictionary names, but whose contents no public source lays out. The class pages list them as “layout not published”, and the viewer shows them as labelled bytes.
- Reference and viewer: background-image objects at schema versions 1 and 9 (SketchUp 6 and 7); only schema 10 is published. The viewer stops the outline at such an object, with the reason, instead of misreading it.
- Reference: which way the classic layer-folder visibility flag runs; no source settles it, and no real file here has layer folders.
- Reference: the first number of a style variant: skppy reads it as a version, openskp-rs as a presence flag. Every real file seen holds 1, so both readings agree so far; the viewer shows both.
- Reference and viewer: SketchUp 3–6, 2013, 2014, 2019 and 2020: no real files of these versions were available, so their layouts rest on skppy and its SDK-made test files.
Links
Software
- SketchUp – Trimble’s 3D modelling program, which saves SKP files (Windows, macOS, web, iPad)
- Autodesk Revit – building design program that imports SKP models (Windows)
- Autodesk 3ds Max – modelling and rendering program that imports SKP models (Windows)
- Twinmotion – real-time architectural visualisation that imports SKP models (Windows, macOS)
- Lumion – architectural rendering program that imports SKP models (Windows)
Developers
- SketchUp SDK – Trimble’s library for reading and writing SKP files (C)
- OpenSKP – MIT-licensed reader and writer reverse-engineered from both containers (Python, C#, TypeScript, Dart)
- skppy – reader and writer for both containers, with a Blender add-on; in beta (Python)
Reference
- skppy format reference – reverse-engineered layouts of both containers: the class fields of the classic files and the tag map of model.dat
- openskp-rs – reverse-engineered reader whose
reference/vff-tags.tsvlists SketchUp’s own 613 tag names, and whose RENDER.md and styles.rs give render modes, style items and colour byte order (Rust) - skppy-tests – skppy’s public conformance suite: SketchUp’s C API headers, SDK fixtures for every save target from SketchUp 3 to 2021, and round trips that have SketchUp’s SDK read skppy’s files (Python, C)
- openskp-fork – a fork of OpenSKP with a writer for the 2021 format and the VFF header’s checksum (vff_checksum.py) (Python)
- SUModelVersion – the SketchUp C API’s list of file versions, with its note on the “versionless” format
- Sketchup file format – Fab Lab Iceland’s 2008 notes on the SketchUp 6 header, version map and thumbnail
- TN002: Persistent Object Data Format – Microsoft’s description of the MFC archive tags the older files use
- SketchUp – Wikipedia’s article, with the program’s history and release dates