What is a .clip file?

A plain-language look at the native file format of Clip Studio Paint: what it stores, how it is organised, and why it is so hard to open anywhere else.

The short version

A .clip file is the project file of Clip Studio Paint, the illustration, comic and animation software made by CELSYS (the successor of Manga Studio). Unlike a PNG or JPG, which store one flat picture, a .clip file stores the whole working document: every layer, folder, mask, blending mode, correction layer, ruler and, for animations, the timeline. Its purpose is to let an artist stop work and continue later exactly where they left off.

How the file is organised

The format is not publicly documented, but the community has worked out its broad structure. A .clip file is a container made of several chunks:

  • A header and a chunk index. The file starts with an identifying marker and is then divided into named blocks.
  • An embedded SQLite database. This holds the description of the document: canvas size and resolution, the list of layers, their names, order, opacity, blend mode, masks, folder structure and the settings of correction and gradient layers.
  • Pixel data in tiles. The actual paint is cut into small square tiles which are compressed individually. Empty tiles are not stored at all, which is why a mostly blank 10,000 px canvas can still be a small file.
  • A preview image. A reduced picture of the finished artwork, used for thumbnails in file browsers and in Clip Studio's own start screen. Some files also contain a full-size flattened copy.
  • Extra data for vector strokes, text, 3D models and animation frames.

Why other programs cannot open it

Photoshop's PSD format is documented by Adobe, and many programs implement it. The .clip format is not documented, so there is no official way for another application to read it. Renaming the file to .psd or .png changes nothing: the bytes inside are still a Clip Studio container, and the program will report the file as damaged.

Several parts of the format are also procedural. A gradient layer, for example, stores the gradient's settings rather than pixels; a text layer stores the text and font; a correction layer stores a curve. To show the picture correctly, a viewer must redraw these elements and apply blending rules the same way Clip Studio Paint does.

What a viewer has to do

A tool such as ClipPeak follows roughly these steps when you open a file:

  1. Read the container and extract the database.
  2. Read the layer tree: which layers exist, in which folders, and with which settings.
  3. Decompress the pixel tiles of every raster layer and put them in the right places.
  4. Apply masks and clipping, then composite the layers from bottom to top using each layer's blend mode and opacity.
  5. Re-create layers that have no stored pixels (gradients, tones, vectors, text).

Everything in ClipPeak happens in your browser, so the file is never sent to a server.

Related file types

.clip
A single canvas: one illustration, one comic page or one animation.
.cmc
The index of a multi-page comic project. It does not contain the pages; those are separate numbered .clip files in the same folder.
.psd
Adobe Photoshop's layered format. Clip Studio Paint can export it, which makes it the best exchange format for layers.

Keep reading

Frequently asked questions

Is a .clip file the same as a .csp file?
No. Older versions of the program used other extensions. Today the file you save from Clip Studio Paint is a .clip file.
Are .clip files compressed?
The pixel tiles are compressed individually, and blank areas are not stored, so files are usually much smaller than the uncompressed canvas would be.