HOSTING

Share an Excalidraw drawing as a link

Export an Excalidraw drawing as SVG, paste it into one HTML file, and upload it. The recipient gets a view-only page that stays sharp at any zoom and can take comments.

3 min read·

Excalidraw sketches are used for architecture diagrams, flows and whiteboard notes. Sending one is awkward: a .excalidraw file needs Excalidraw to open, a PNG blurs when zoomed, and a collaboration link drops the recipient into an editor where they can move things.

An HTML page with the drawing as SVG opens on any device, stays sharp at any zoom, keeps text selectable, and cannot be edited by the viewer.

Export the drawing as SVG

In Excalidraw, open the main menu and choose Export image. Pick SVG. Turn on Embed scene if you want to drag the file back into Excalidraw later to edit it; the drawing data travels inside the SVG. Turn off Background for a transparent canvas, or leave it on for a white one.

Select shapes before exporting to export only the selection instead of the whole canvas.

Put the SVG in one HTML file

Create drawing.html with:

  • ✓<!doctype html>, <meta charset="utf-8"> and <meta name="viewport" content="width=device-width, initial-scale=1"> in the head.
  • ✓A style rule so the drawing fits narrow screens: svg { max-width: 100%; height: auto; }.
  • ✓The SVG itself: open the exported .svg in a text editor, copy everything from <svg to </svg>, and paste it into the body.

Why paste instead of linking the SVG

Paste the SVG into the page rather than pointing to it with <img src="drawing.svg">. An uploaded page is hosted on its own, so a second file it points to is not there.

Upload it and send the link

Drag the .html file onto the FileShare Pro dashboard and copy the link. Viewers need no account and no Excalidraw.

Turn on comments and viewers can leave a note on the page after typing a name. When the drawing changes, export again, replace the SVG in the page, and upload the new file over the old one; the link stays the same: updating a shared link without changing it.

Other diagram tools: draw.io, Mermaid, Graphviz.

Frequently asked

How do I share an Excalidraw drawing without letting people edit it?

Export it as SVG, paste the SVG into an HTML page, and upload the page to a host that serves HTML as a web page. The link shows the drawing but no editor.

Can I still edit the drawing later?

Yes, if Embed scene was on when you exported. Drag the .svg file back into Excalidraw to reopen it as an editable scene.

Why use SVG instead of PNG?

SVG stays sharp at any zoom and keeps text selectable. A PNG is a fixed grid of pixels and blurs when someone zooms in on a detail.

Is it free?

Yes. The free plan hosts up to 50 files of up to 100 MB each, with view counts and comments included. Password-protected links are on Pro.

Got a page to share?

Drop the file, copy the link — live in seconds, free plan included.

Start sharing free