Skip to content
LayerLedger

PSD and PSB to CSV: layer tree, text with fonts, linked files, one-page summary — Step-by-step guide

A Photoshop file keeps its layers, text and links in binary records. LayerLedger reads them in your browser and gives you CSV files: the layer tree with type, visibility, opacity, blend mode and bounds; each text layer with its text and font names; each smart object with its linked or embedded file name; and a one-page PDF summary. Nothing is uploaded, and the file is not changed.

What the sample produces

The sample is written byte by byte from the layout in Adobe's specification, and its expected rows were worked out by hand from the layer values. A separate check compares the sample bytes with the generator, reads the CSV rows and the one-page PDF with a separate reader, and rejects a bad signature and a cut-short file.

Layer rows
8, including the group
Font names
2, MyriadPro-Bold and ArialMT
Notes
1, an unknown block on Old draft

How to use it

  1. In Photoshop, save the file (File > Save) so the file on disk is current. Layers, text and smart objects are read from that file.
  2. Choose one or more .psd or .psb files here, up to 20. The preview lists the layers and the number of text, smart object and note items.
  3. Download the CSV files. layers.csv has the full tree, text.csv has the text and fonts, smart-objects.csv has the linked and embedded files, and notes.csv lists every item not read. The PDF is the one-page summary.

Supported files

Reads PSD (version 1) and PSB (version 2) layer records, text layers from the Txt2 engine data, and smart objects with their linked-file names. Not read: the pixels and the composite image; text that only has the legacy TySh block (reported in notes); the contents of embedded smart objects; vector paths; layer effects, masks and adjustment settings. Font names come from the FontSet list in the text engine data, which can include fonts a layer does not use. Layer visibility follows the spec text (bit value 2 = visible) and was not checked against hidden layers saved by Photoshop. PSB was not tested on a real file. The sample is a file written by a script, not saved by Photoshop. Up to 512 MB per file, read in browser memory.

Open LayerLedger

Compare LayerLedger with alternatives