Dump JSON data
Important: Athens (2025.1) introduced fundamental changes to Sketch. API documentation may not be up to date.
Before the open file format got introduced sketchtool dump
allowed to export a Sketch document to JSON.
sketchtool dump /path/to/document.sketch
Note: We strongly recommend using the file format directly instead of
sketchtool dump
because the command uses an undocumented and different JSON structure than the file format.