.XCF

XCF File

GIMP Image (eXperimental Computing Facility)
Ask a question
QUICK ANSWER

An XCF file is GIMP's native project format - the free-software equivalent of Photoshop's PSD. It stores all layers, masks, channels, and paths so the composition stays fully editable. Open it in GIMP (free, Windows/macOS/Linux). To share the image, use File > Export As in GIMP to produce a PNG or JPG, since most other apps cannot read XCF.

Developer: The GIMP Team / GNOME Foundation Category: Raster Image Files Open standard MIME: image/x-xcf
OPENS ON Windows macOS Linux Web
Related: .JPG · .PNG · .TIF · .ECW

On this page

19k+ extensions indexed
Last reviewed Jun 17, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the XCF file format?

.xcf image files are used by GIMP (GNU Image Manipulation Program). .xcf files store layers, paths, transparency settings, channels, guides, and other elements used in image editing. The format does not offer an option to review image edit history - undo state is session-only and is not saved to disk.

.xcf format compression

.xcf files store graphical data in compressed form using a simple RLE (Run-Length Encoding) compression algorithm. GIMP also supports gzip and bzip2 wrapping: files with .xcf.gz or .xcf.bz2 extensions are recognized by GIMP as native image files. GIMP 2.10 additionally introduced optional zlib-deflate tile compression, selectable at save time.

.xcf format's limited portability

Use of .xcf files as a data-sharing format is discouraged, as some elements of the format's structure are closely related to GIMP's unique functions. For sharing finished work, exporting to PNG or a PSD file is the preferred approach. Because of this, the .xcf graphical format is not widely used outside the GIMP ecosystem, though viewers such as Photopea and XnView MP can open .xcf files.

Backward compatibility and naming

The .xcf format is backward compatible and therefore supports older GIMP files. The name stands for "eXperimental Computing Facility" - the student computing group at UC Berkeley where GIMP was originally developed in the mid-1990s, hence the format's name.

Security & safety

RISK: LOW

XCF is passive image data with no scripting or executable content, so opening one is low-risk. Practical cautions only: XCF project files can be large, and some "free XCF viewer/converter" download sites bundle adware - get GIMP from gimp.org (or a trusted repository) rather than ad-driven mirrors. As with any image parser, keep your software updated against occasional decoder bugs.

Format details

in a nutshell
FULL NAMEGIMP Image (eXperimental Computing Facility)
DEVELOPERThe GIMP Team / GNOME Foundationsince 1990s (native format of GIMP, the GNU Image Manipulation Program)
MIME TYPEimage/x-xcf
TYPELayered raster project file (GIMP native, binary)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405060708
HEX
67696D702078636620
ASCII
gimp xcf
File begins with ASCII "gimp xcf " followed by a version string such as "v001"/"v011" and a 0x00 byte (e.g. "gimp xcf v011\0"). Then canvas width/height/base-type as big-endian 32-bit ints.

Programs that open XCF files

Windows4 apps
GIMP Open-source File > Open the .xcf in GIMP - full layer/mask/channel fidelity. The only app that opens XCF completely. Free.
IrfanView Freemium Opens XCF as a flattened image for quick viewing (no layers). Lightweight viewer.
Blender Open-source Can load an .xcf as an image/texture (flattened). Useful in a 3D workflow, not for editing.
XnView MP Freemium Open the .xcf to view/convert a flattened version (no layer editing). Good for quick previews/batch export.
macOS2 apps
GIMP Open-source Open the .xcf in GIMP for macOS with full layers. Free.
XnView MP Freemium View/convert a flattened XCF (no layer editing).
Linux2 apps
GIMP Open-source Open the .xcf in GIMP (its native format) - usually preinstalled or one package install away. Full fidelity, free.
ImageMagick Open-source convert input.xcf output.png - flattens an XCF to a standard image from the command line.
Web1 app
Photopea Free Open the .xcf in the browser-based editor; reads GIMP XCF (and PSD) with layers - handy with no install.

Technical details

deep spec
MIME typeimage/x-xcf
Magic bytesASCII "gimp xcf " (9 bytes) at offset 0, followed by a version string (e.g. "v001"-"v019") and a null terminator
Byte orderBig-endian (network byte order) for all multi-byte integer fields
Color modesRGB, Grayscale, Indexed - one mode per canvas
Color depth8-bit per channel (legacy); 16-bit integer and 32-bit float per channel supported from GIMP 2.10+
Layer supportUnlimited layers, each with independent opacity, blend mode, and pixel-offset position
Layer groupsNested layer groups supported since XCF version 9, introduced with GIMP 2.8
TransparencyPer-pixel alpha channel on individual layers; composite transparency handled per-layer
Vector pathsBezier curve paths stored as named path objects embedded in the file
Auxiliary channelsNamed channel objects with per-pixel 8-bit masks stored at the global image level
CompressionInternal RLE (Run-Length Encoding) per tile; gzip or bzip2 external wrapping supported via .xcf.gz / .xcf.bz2
Parasite metadataKey-value "parasite" blobs attachable to the image, individual layers, and channels
Embedded color profileICC color profile stored via the built-in "icc-profile" parasite
Text layersNon-destructive text layers retain font name, size, and markup for re-editing in GIMP
File versioningHeader version tag (e.g. v001 through v019) identifies the XCF sub-version for backward compatibility
Released1990s (native format of GIMP, the GNU Image Manipulation Program)
Open standardYes · royalty-free
Specificationgitlab.gnome.org

XCF conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with XCF files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about XCF files.

Frequently asked questions

How do I open an XCF file?
Use GIMP (free, on Windows/macOS/Linux) - it's GIMP's native format and the only app that opens it with full layers. For a quick flattened view you can also use XnView MP or the browser-based Photopea.
How do I convert an XCF to PNG or JPG?
Open it in GIMP and choose File > Export As, then pick PNG (lossless, transparency) or JPG (smaller, for photos/web). GIMP's plain 'Save' keeps it as .xcf; 'Export As' makes a normal image.
Is XCF the same as PSD?
No. XCF is GIMP's native layered format; PSD is Photoshop's. They serve the same purpose but aren't interchangeable. GIMP can import many PSDs and export to PSD with some fidelity loss.
Can I open an XCF file in Photoshop?
Not directly - Photoshop doesn't read XCF. Open the .xcf in GIMP and export it to PSD (File > Export As .psd), then open that in Photoshop. Photopea (web) can also open XCF.
What does XCF stand for?
eXperimental Computing Facility - the UC Berkeley lab where GIMP was originally developed.
Why won't my image viewer open an XCF file?
XCF is a GIMP project format that most viewers don't support. Install GIMP, or use a viewer that handles it (XnView MP, IrfanView) for a flattened preview.

References

1XCF (file format) - Wikipediaen.wikipedia.org
2GIMP - official sitewww.gimp.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.DATProgram Data File (generic)
6.BINCD/DVD Disc Image (BIN/CUE)
7.NOMEDIAAndroid No-Media Marker File
8.MDMarkdown Document
9.RPMSGRestricted Permission Message
10.TMPTemporary File

Related extensions

.JPGJPEG Image
.PNGPortable Network Graphics
.TIFTagged Image File Format
.ECWEnhanced Compression Wavelet (ECW) image
.AVIFAV1 Image File Format (AVIF)
.JP2JPEG 2000 Image (ISO/IEC 15444-1)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z