Online Whiteboard & Drawing Canvas

A freehand drawing canvas for sketching ideas, diagrams, and notes. Adjustable brush size, colors, and eraser tool.

Runs in your browser. No data leaves your device.

About this tool

A freehand drawing canvas with a pen, an eraser, eight colors and an adjustable brush. It runs on an HTML canvas in the browser and can download the drawing as a PNG. Use it for quick sketches, diagrams or explaining something visually.

Features
  • Pen and Eraser tools; the eraser paints white at 3x the brush size
  • Eight preset colors: black, red, amber, green, blue, purple, pink and white
  • Brush size slider from 1 to 20 px with round line caps and joins
  • The drawing is kept as a list of strokes, so Undo removes the last stroke with unlimited steps
  • Clear wipes the board and can itself be undone
  • A single tap or click draws a dot
  • Drawn at the screen pixel ratio, so lines stay sharp on HiDPI and phone screens; resizing or rotating redraws the strokes
  • Download saves the canvas as whiteboard.png
  • Works with mouse, touch and pen through pointer events; a stroke continues if the pointer leaves the board
How to use it
  1. Pick Pen or Eraser, then choose a color and brush size.
  2. Draw on the white canvas with a mouse or your finger.
  3. Click the undo icon to step back, or the trash icon to clear the board.
  4. Click the download icon to save the drawing as a PNG.
Inputs
  • Mouse and touch strokes on the canvas
Outputs
  • PNG download named whiteboard.png, made with canvas.toBlob on a white background
Limits and notes
  • Nothing is saved - the drawing is lost when you reload or leave the page
  • No pressure sensitivity
  • The board fills the page width and is 500 px tall; strokes outside the visible area after a resize are clipped (but kept)
  • The PNG is saved at the screen pixel ratio (for example 2x the on-screen size on a Retina display)
  • No shapes, text, layers or image import

Frequently Asked Questions

How does the Online Whiteboard work?

The whiteboard is an HTML canvas. Pointer events (mouse, touch and pen) record each stroke as a list of points, drawn with the Canvas 2D API at the screen's pixel ratio using the chosen color and brush size. The eraser draws in white at 3x the brush size. Undo removes the last stroke and redraws the rest, with no step limit; Clear can be undone too. Download exports the canvas as a PNG file.

Can I save my drawings?

Yes, by downloading them. The download button saves the board as whiteboard.png. The drawing is not stored in your browser, so it is lost when you reload or leave the page - download anything you want to keep first.

Does it work with a stylus or tablet?

Yes, on touchscreens and with styluses that the browser reports as touch or mouse input. Draw with one finger or a stylus; the board follows one pointer at a time. There is no pressure sensitivity - line width comes only from the brush size slider.

Can I undo a mistake?

Yes. Use the undo feature to step back through your drawing history. You can also use the eraser tool to remove specific areas.