Skip to main content

Diagram File to SVG

Convert Excalidraw files to standalone SVG in your browser

Diagram file

Drop a diagram file or browse

Excalidraw .excalidraw or .json, up to 10 MB

Supported: Excalidraw (.excalidraw, .json). draw.io (.drawio) is planned.

Converted in your browser. The file is not uploaded or saved.

Open an Excalidraw file or load an example.

Export options

Fill behind the diagram with the scene colour.

Excalidraw's dark export: colours inverted, images kept.

Scale

The editable scene is never embedded in the SVG.

Only the export options are remembered on this device.

Advanced

Off makes a smaller file that uses the viewer's fonts.

SVG preview

Convert a diagram file to see the SVG here.

How to use it

  1. 1.Drop an .excalidraw or .json file, or load an example.
  2. 2.Check the scene summary and any notes, set background, dark mode, scale, padding and fonts, then select Convert to SVG.
  3. 3.Compare the preview with the original, then copy the markup or download the file.
  4. 4.Changing an option pauses export until you convert again.

Diagram File to SVG

Excalidraw can export SVG itself, but its files often travel without the app: in repositories, tickets and documentation. This converter turns the saved .excalidraw JSON into a plain SVG image without opening an editor or sending the file anywhere. It restores the scene with the same Excalidraw version every time, embeds only PNG, JPEG, WebP and GIF images that pass a type check, and keeps fonts on this site so the export makes no third-party request. Links, scripts and external references are removed from the output and listed as notes.

Supported files and limits

Stage one supports Excalidraw scenes saved as .excalidraw or .json with type excalidraw. draw.io files are recognised but not converted yet. Files can be up to 10 MB, with up to 10,000 visible elements, 200,000 characters of text, 2 MB per embedded image and 3 MB of images in total. The final SVG is limited to 5 MB and 100,000 elements. Embeddable web content is exported as an empty frame.

Fonts

Excalifont, Virgil, Nunito, Comic Shanns, Lilita One and Cascadia are served by this site and embedded as subsets, so the SVG looks the same on any device. Chinese, Japanese and Korean text, Liberation Sans and Helvetica use fonts installed on the viewer's device; the tool says when that happens. Turn off Embed fonts for a smaller file that always uses installed fonts.

Privacy and output safety

The file is read and converted in this browser tab. Nothing is uploaded, logged or saved; only your export options are remembered on this device. The SVG never contains the editable scene, images that point to URLs are left out instead of fetched, and links are removed from the output.

Frequently asked questions
Is my Excalidraw file uploaded?
No. The file is read and converted in your browser with the Excalidraw library. Nothing is uploaded or saved; only your export options are remembered on this device.
Does the SVG contain my editable scene?
No. The export never embeds the scene data Excalidraw uses for re-import, and the output is checked for it before preview, copy or download. Keep the original .excalidraw file to edit the diagram later.
Will the SVG look the same on other computers?
Yes for the Excalidraw hand-drawn and other bundled fonts, which are embedded as subsets. Chinese, Japanese and Korean text, Helvetica and Liberation Sans use fonts installed on the viewer's device, and the tool tells you when that applies.
Which files are supported?
Excalidraw scenes saved as .excalidraw or as .json with type excalidraw, up to 10 MB. draw.io files are recognised and explained but not converted yet.
What happens to images and links in the scene?
Embedded PNG, JPEG, WebP and GIF images that pass a type check are kept. Images that point to a URL, other image types and oversized images are left out and listed. Links are removed from the SVG.

CodingTool is officially live on