GIMP XCF Viewer and Converter

View the layers of a GIMP .xcf or .xcf.gz file, show, hide, fade and reorder them, and export PNG, JPG, a layered PSD or every layer as a PNG, without installing GIMP.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open the XCF

    Drop the .xcf or .xcf.gz file on the page; it is decoded in your browser.

  2. 2
    Read the details

    Check the size, colour mode, precision, XCF version and the compression used.

  3. 3
    Review the layers

    Look at each layer's size, offset, blend mode and mask in the list, with groups indented.

  4. 4
    Adjust the view

    Hide layers, change opacity and move layers up or down; undo any step.

  5. 5
    Pick a background

    Choose transparent, white or black, and the JPG quality.

  6. 6
    Export

    Save a PNG, a JPG, a layered PSD or every layer as a PNG in a ZIP.

About this tool

XCF is the native file of GIMP, the free image editor. It keeps every layer, its position, opacity, blend mode and mask, which makes it the right file to share between people who edit, and the wrong file to send to someone who only wants to look. Most image viewers, phones and office programs cannot open it at all. This page reads XCF files with its own decoder, written for the browser, so you can open one on a phone, a Chromebook or a work computer where installing GIMP is not allowed. Open an .xcf file, or a compressed .xcf.gz, and the image is composited from its layers exactly in GIMP's order. The layer list shows each layer with its size, offset, blend mode and whether it has a mask; layer groups are indented under their group. Tick a layer off to hide it, drag its opacity, or move it up or down to change the stacking order, and the picture updates at once. Every change is a step you can undo. The decoder supports RGB, greyscale and indexed images, files saved without compression, with RLE or with zlib, the 8-bit images of GIMP 2.8 and the 16-bit and 32-bit integer and 32-bit float images of GIMP 2.10 and 3.0, and the 64-bit file offsets used for big files.

Exports

Save the composited image as PNG with transparency, or as JPG on a white or black background at the quality you choose. The layered PSD keeps every pixel layer with its name, position, opacity, visibility and blend mode, so it opens in Photoshop, Photopea, Krita or Affinity Photo as separate layers. Each layer can also be saved as its own PNG, numbered from the top, in a ZIP. Masks are applied to the pixels before export.

Blend modes

Normal, multiply, screen, overlay, difference, addition, darken, lighten, hue, saturation, colour, value, dodge, burn, hard light, soft light and exclusion are drawn with the browser's matching modes, for both the old GIMP 2.8 numbers and the new 2.10 ones. GIMP's own modes such as grain merge, grain extract, divide and dissolve are listed in the layer details and drawn as normal.

Limits

Images with 16-bit half-float precision are not decoded; change the precision in GIMP and save again. Paths, guides, saved selections, channels other than masks and text as editable text are not read: text layers come through as pixels. Groups are composited as plain layers, so a group's own blend mode is not isolated, and groups are flattened in the PSD. Bzip2-packed .xcf.bz2 files are not supported. This tool cannot save XCF.

Worked example

A teacher receives poster.xcf, 18.4 MB, from a student. It opens as a 2,480 × 3,508 pixel RGB image, the size of an A4 page at 300 dpi, with 9 layers in two groups, saved by GIMP 2.10 as version 11 with zlib compression and 8-bit precision. The layer Draft notes is visible at 60 percent opacity and covers part of the title, so the teacher unticks it and moves the Logo layer above the Photo layer. The JPG export at quality 90 is about 1.6 MB, small enough to email. A full-size layer holds 4 × 2,480 × 3,508 bytes, about 34.8 MB of raw pixels, so 9 full-size layers come to about 313 MB before compression, which is why a PNG of each layer is often the handier choice.

Quick facts

Frequently asked questions

How do I open an XCF file without GIMP?

Open the .xcf or .xcf.gz file on this page. The layers are decoded and composited in your browser on any computer, tablet or phone; nothing is uploaded and nothing is installed.

Will the PSD keep my layers?

Yes. Every pixel layer is written as its own PSD layer with its name, position, opacity, visibility and blend mode. Layer groups are flattened into plain layers and masks are applied to the pixels.

Why does a layer show a different blend than in GIMP?

GIMP-only modes such as grain merge, divide and dissolve have no browser equivalent and are drawn as normal. The layer list names the original mode so you can see which layers are affected.

Does it open files from GIMP 3.0?

Yes, as long as the image is 8-bit, 16-bit or 32-bit integer, or 32-bit float. Half-float images are not decoded; the page tells you when a file uses that precision.

Can I change layers and save the XCF?

You can show, hide, fade and reorder layers for viewing and exporting, with undo, but the tool does not write XCF files. Export a layered PSD to keep editing elsewhere.

What about .xcf.bz2 files?

Gzip-compressed .xcf.gz files open directly. Bzip2-compressed .xcf.bz2 files are not supported; unpack them first or save them from GIMP as .xcf or .xcf.gz.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages