# Excalidraw

Excalidraw is an open-source virtual whiteboard built with React and TypeScript, packaged here as a small nginx container so teams and individuals can host the full app on their own domain in one click. It covers hand-drawn shapes, arrows, text, freehand lines and images, shape libraries, Mermaid to diagram, and export to PNG, SVG and .excalidraw files, with no accounts and no database.

- Framework: Dockerfile (Docker)
- Category: Apps / Developer tools
- Creates: a server app
- Plan: Free
- Price: Free
- Author: Light Cloud
- Page: https://templates.light-cloud.com/apps/dev-tools/excalidraw
- Updated: 2026-11-21

## Features

- Excalidraw 0.18.1, built from the release's source archive with its SHA-256 checked, using upstream's own yarn commands
- Rectangles, diamonds, ellipses, arrows that stay attached, lines, text, freehand drawing and images
- The hand-drawn look or clean lines, with fill styles, colours, fonts, layers, grouping and alignment
- Shape libraries, Mermaid diagrams turned into editable drawings, light and dark themes and keyboard shortcuts
- Export to PNG, SVG and the clipboard, and save and open .excalidraw files
- Drawings save themselves in the browser as you work, and the app works offline once loaded
- Served by unprivileged nginx on PORT, with gzip and year-long caching for content-hashed assets, in about 10 MiB of memory

## What you need

- Free plan: it runs as a server app, and the Free plan includes 3 server apps
- To run it locally: Docker; the first build downloads and compiles Excalidraw, which takes a few minutes
- Nothing to configure: no database, no secrets and no accounts, and Light Cloud sets PORT

## About

This is upstream Excalidraw 0.18.1, under its own MIT licence and unchanged: upstream publishes no versioned image, so the Dockerfile builds the tagged release from source, checks its SHA-256 and serves it with nginx, and that packaging for a one-click deploy is all Light Cloud adds. It runs as a small container rather than a free static site because Light Cloud's static builder gives Node.js a 1.5 GB heap and Excalidraw's Vite build runs out of memory there; the Docker build has not been timed on Light Cloud's own builder yet (it took about 3 minutes under emulation). To upgrade, change EXCALIDRAW_VERSION and EXCALIDRAW_SHA256 together in the Dockerfile, and nginx.conf.template sets the caching, compression and fallback to index.html. Share links, live collaboration and the public library go through excalidraw.com's servers, as in upstream's own build: drawings are encrypted in the browser first, but the data does leave your app, and running your own collaboration server is not included. Drawings live in each visitor's browser with nothing stored on the server, and with scale-to-zero the first visit after a quiet spell waits a moment while the container starts.

## Questions

### Can I self-host Excalidraw?

Yes. Excalidraw is MIT licensed and builds to a static web app, so you can serve it from any web server; this template builds the official release and serves it with nginx on your own domain.

### Is self-hosted Excalidraw private?

Drawings stay in your browser unless you share them. Share links and live collaboration upload the drawing to Excalidraw's public servers, encrypted in your browser with a key that only exists in the link, so the servers cannot read it.

### Does Excalidraw work offline?

Yes. After the first visit the app is cached by the browser, and drawings are saved locally as you work, so you can keep drawing without a connection.

### How do I save an Excalidraw drawing?

Use Menu, Save to for a .excalidraw file you can open again later, or Export image for a PNG or SVG; tick Embed scene to keep a PNG or SVG editable in Excalidraw.

### Is there a free alternative to Miro for diagrams?

For sketching flowcharts, architecture diagrams and wireframes, Excalidraw is a popular free alternative: no account, a hand-drawn style that keeps diagrams informal, and live collaboration through a shared link.
