Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Image

XCF Inspector

Drop in a GIMP XCF image file (.xcf) and inspect its native binary header without loading the image. The tool verifies the "gimp xcf " magic and the file version, then reports the canvas width, height and the base type (RGB, grayscale or indexed). It walks the top-level property list, decoding known properties such as the compression scheme (RLE or fractal) and the horizontal and vertical resolution, and counts the layers, channels and masks declared in the file. The tool flags a missing magic, an unsupported version, and a property block that runs past the end of the file. The views show the header summary or the full property list. Everything runs on-device.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Drop a file here, or browse

Accepts: .xcf,image/x-xcf,application/octet-stream

Files stay on your device.

Ctrl+V to paste an image

    Options

    Drop a file above to begin

    Your file are processed on this device and never uploaded.

    How it works

    The XCF header

    A GIMP XCF file starts with the nine bytes "gimp xcf ", followed by a version string, then the canvas width and height and a base type byte that says whether the image is RGB, grayscale or indexed. The inspector verifies the magic, reports the version it found, and decodes those header fields without loading the image or decompressing any layer. The value here is a quick structural check before opening a large project in an editor.

    The property list

    After the header comes a property list: typed entries terminated by a zero type. The inspector walks the list, decoding the properties it knows, including the compression scheme (RLE or fractal) and the horizontal and vertical resolution, and reports the type, size and value of every entry. Unknown properties are still listed with their raw type and size, so a newer GIMP file does not produce a misleading empty report.

    Layers, channels and masks

    Layer, channel and mask properties each carry the structure that follows. The inspector counts them and says how many the file declares, which is a useful sanity check when a project is unexpectedly large or when a file was saved from a script. It does not decode pixel data or the layer hierarchy itself; that would require implementing the XCF layer format, which is beyond a header reader.

    Problems it flags

    The tool warns when the magic is missing, when the version is not one it understands, and when a property block runs past the end of the file. A file that is too short to hold a header is rejected with an explicit error. Files up to 512 MB are supported, the parse runs in the tab, and the file is never uploaded or modified.

    Questions

    Can the inspector open or convert the image?

    No. It reads the header and property list only. Rendering a GIMP project requires the full layer format and its compression, so use GIMP or a converter for that.

    Does it show how many layers a file has?

    Yes. Layer, channel and mask properties are counted and reported in the summary, which is enough to compare a file against what you expected to save.

    What does compression RLE or fractal mean?

    It is the scheme GIMP used for the image data, not a container compression. The inspector reports which one the property list declares so you know how the pixels are stored.

    Why does it say the version is unsupported?

    XCF has changed over GIMP releases. The inspector understands the common header layouts and says so when the version string does not match one it can parse, rather than guessing at offsets.

    See category