Initializing... drag & drop files here
Supports: XCF
XCF (eXperimental Computing Facility) is GIMP's native project format. It preserves every layer, layer mask, channel, path, guide, and selection so you can resume editing later — but nothing outside GIMP can open it. PNG (ISO/IEC 15948) is the universal lossless raster format: every browser, OS, image viewer, and chat app supports it, and it carries a full alpha channel for true transparency. Exporting XCF to PNG flattens the editable project into a single shareable image while keeping pixel-perfect quality.
| Property | XCF (GIMP project) | PNG (ISO/IEC 15948) |
|---|---|---|
| Maintainer | GIMP project (GNOME) | W3C / ISO |
| Layers, masks, paths | Preserved | Flattened to one raster layer |
| Bit depth | Up to 32-bit float per channel (since GIMP 2.10) | 1, 2, 4, 8, or 16 bits per channel |
| Color modes | RGB, grayscale, indexed | RGB, grayscale, indexed (no CMYK) |
| Transparency | Full alpha + layer masks | Full 8-bit or 16-bit alpha channel |
| Compression | RLE; optional gzip/bzip2/zlib wrapper | DEFLATE (LZ77 + Huffman), lossless |
| Web/browser support | None | Universal (all major browsers since IE 7) |
| Typical use | In-progress edits, source of truth | Final delivery, web, screenshots, UI |
| File size (same image) | Larger (carries every layer) | Smaller (single flattened raster) |
Compression level is the DEFLATE effort setting — higher numbers spend more CPU finding tighter encoding for the same pixel data. PNG output is always lossless regardless of level; only file size and encode time change.
| Compression level | Encode time | File size vs default | When to use |
|---|---|---|---|
| 1-3 (low) | Fastest | ~5-15% larger | Real-time exports, throwaway proofs |
| 6 (default) | Moderate | Baseline | General use — covers most cases |
| 7-9 (high) | Slowest | ~3-8% smaller | Final delivery, archival, bandwidth-sensitive assets |
For aggressive size reduction beyond DEFLATE, run the PNG through a dedicated optimizer (zopflipng, oxipng) or switch to PNG to WebP — WebP lossless is typically 20-30% smaller than PNG at the same fidelity per Google's own benchmarks.
No. PNG is a single-raster format — it has no concept of layers. The converter flattens all visible layers (respecting their blend modes, opacity, and layer masks) into one composite, exactly the way GIMP's File → Export As → PNG does. Keep the original .xcf if you need to edit later; the PNG is the delivery copy.
Yes. If your XCF has an alpha channel (transparent background or partially transparent areas), the exported PNG carries a matching 8-bit alpha channel. Soft edges, drop shadows, and anti-aliased outlines look identical to GIMP's preview. If your XCF has no alpha channel (a flat background layer), the PNG will be opaque RGB.
Three common reasons. (1) Your image is high-resolution — a flattened 4K design with many colors compresses less than a small icon. Scale via "Resolution Percentage" before export. (2) Photographic content compresses poorly with DEFLATE; if the source is a photo, XCF to JPG at 85-90% quality is typically 5-10× smaller. (3) Default compression level is 6 — try level 9 for a small additional reduction, or run the result through oxipng/zopflipng.
Pick by content type. PNG-8 (indexed, up to 256 colors) is ideal for logos, icons, flat illustrations, and pixel art — it's much smaller and supports binary transparency. PNG-24 (truecolor, 16.7M colors) is required for photos, gradients, soft shadows, and anything with smooth tonal transitions. Use the Color Reduction + Dither option in Advanced Options to drop into indexed mode.
Partially. PNG supports 8-bit and 16-bit per channel, so 16-bit XCFs export to 16-bit PNG cleanly. 32-bit float XCFs are tone-mapped down to 16-bit during export — the result is still extremely high quality but not bit-for-bit identical to the float source. For HDR workflows, export to a HDR-capable format like OpenEXR before flattening.
Functionally identical output, no GIMP install required. GIMP's File → Export As → PNG runs the same DEFLATE encoder; this tool runs the conversion in your browser session so you can flatten and ship a PNG without launching a 250 MB desktop app. Useful when you're on a Chromebook, a borrowed machine, or just want to skip the install.
Yes. GIMP transparently saves XCFs with .gz or .bz2 extensions to shrink large project files (often 10× smaller per GIMP's documentation). The converter unwraps the outer compression before flattening, so you can upload the compressed file directly without unzipping it first.
Depends on the use case. PNG for transparency, UI assets, and lossless web delivery. XCF to JPG for photos and email attachments where 5-10× smaller files matter more than perfect fidelity. XCF to WebP for modern web (smaller than PNG, supports alpha, supported in Chrome/Firefox/Safari 14+/Edge). XCF to TIFF for print workflows that need lossless storage with embedded color profiles. PNG is the safest universal default.
Yes. Files process in your browser session only and are not shared. Keep the original .xcf locally as your editable source — only the flat PNG is the shareable artifact.