Skip to content

File and export formats ​

Files created or accepted by the application; package-only conversion APIs are covered by the conversion reference.

FormatUse it forLimits
.coral.jsonSave and openSource-owned Coral documents keep exact authored text and document settings
GraphIR JSONDeliberate interchangePortable graph; not the authored Coral text or full document settings
SVGScalable exportUses verified geometry
Plain text (.txt)Paginated ASCII diagramLetter or A4 with form-feed page breaks
Code commentCopy a text diagram72, 80, or 100 columns including comment syntax
HTMLStandalone exportUses verified geometry
PNGRaster exportFixed resolution
JPEGLossy raster exportFixed resolution
Coral source (.coral)Text authoring and openingStored verbatim; malformed source remains saveable as text
Mermaid source (.mmd)Open supported imported sourceBounded sequence import writes verified Coral; other admitted Mermaid stays Mermaid source
DOT and PlantUML sourceOpen supported imported sourceOriginal format is retained; no general Coral source writer

The current Coral document schema is 1.0.0. Readers accept 0.9.0, 1.0.0, and legacy 1.0, migrating supported documents before use. Unsupported or malformed document envelopes are refused without replacing current work; malformed Coral text inside a valid source document remains available to edit.

A Coral source document retains its exact text even when syntax, conformance, or render-capability findings prevent projection or export. Saving and closing do not require a successful diagram render.

Choose Export Plain Text (.txt) for a page preview and download. Choose Copy as Code Comment to set comment syntax, width, and character set.