Skip to main content
OW

Online Whiteboard

A freehand drawing canvas — pen, eraser, basic shapes and text, with color picker, undo/redo and PNG export, entirely in your browser.

Did you like the tool? Thanks!
Share:

More Image Tools Tools

IC

Image Cropper

Crop any image to exactly the area you need, with a live preview — nothing is uploaded, everything happens in your browser.

IR

Image Resizer

Resize any image to an exact width and height in your browser — optional aspect-ratio lock, PNG/JPEG/WebP output, nothing uploaded.

IC

Image Compressor

Shrink an image's file size by re-encoding it at a chosen quality level — live before/after size comparison, JPEG/WebP/PNG output, done locally.

IF

Image Flip & Rotate

Flip an image horizontally or vertically and rotate it by any angle — quick 90/180/270° buttons or a free-angle slider, corners never clipped.

IT

Image to Base64

Convert an image into a Base64-encoded string — full data URI or raw Base64, character count, one-click copy, all done locally.

BT

Base64 to Image

Paste a Base64 string or data URI and preview the decoded image instantly — auto-trims whitespace, lets you pick the assumed format, download in one click.

PI

Placeholder Image Generator

Generate a simple placeholder image for wireframes and mockups — custom size, colors and text, auto-sized to fit, PNG/JPEG/WebP output.

IF

Image Format Converter

Convert an image between PNG, JPEG, WebP and BMP entirely in your browser — no upload, instant preview, adjustable quality.

FG

Favicon Generator

Turn any image into a complete favicon package — six PNG sizes plus a combined multi-resolution .ico file, generated locally in your browser.

AA

ASCII Art Generator

Turn a photo into text-based ASCII art, or type a short message as a large block-letter banner — both rendered entirely in your browser.

Color

Pen, eraser, rectangle, circle and text tools. Text is "burned in" to the canvas the moment you place it — it becomes part of the drawing, not an editable object. Undo/Redo keep up to 30 steps. Everything is drawn locally in your browser; nothing is uploaded.

How to Use Online Whiteboard

Pick a tool — Pen, Eraser, Rectangle, Circle or Text — choose a color from the palette (or the custom color picker) and a stroke width, then draw directly on the canvas. Undo and Redo step back and forward through your last 30 actions, and Clear wipes the canvas after a confirmation. Download your drawing as a PNG at any time. Your current drawing is also auto-saved to this browser only, so it survives an accidental refresh.

About Online Whiteboard

A digital whiteboard solves a small but real problem: sometimes you need to sketch an idea, sign something quickly, mark up a rough diagram, or jot a note by hand, and opening a full design application is overkill for that. This tool is built around the browser's native Canvas 2D API and Pointer Events — the same unified event model that reports mouse, touch and stylus input through one consistent interface, so drawing works the same way whether you're using a mouse, a trackpad, a finger on a touchscreen, or a stylus on a tablet, without needing separate code paths for each input type. Every stroke is built the same way under the hood: a `pointerdown` records the starting point, each `pointermove` while the pointer is held down draws a short line segment from the previous point to the current one, and `pointerup` ends the stroke. Because a hand-drawn line is really just dozens of these tiny straight segments drawn in rapid succession, using `lineCap: 'round'` and `lineJoin: 'round'` on the canvas context is what makes the result look like one smooth curve rather than a jagged, angular path — those two settings round off the start/end caps and the joints between segments so consecutive short lines blend visually into a continuous stroke. The Eraser uses the same segment-drawing mechanism as the Pen, with one change: instead of painting color, it sets `globalCompositeOperation` to `'destination-out'`, a canvas compositing mode that makes anything newly drawn subtract from (rather than add to) what's already on the canvas — so "erasing" is really just drawing with a shape that cuts a transparent hole in the existing pixels. The mode is switched back to the normal `'source-over'` immediately afterward so the next Pen stroke draws color again rather than continuing to erase. It's worth being explicit about what this tool is and isn't. This is a hand-rolled core drawing subset — pen, eraser, two basic shapes, and text that gets "burned in" as pixels the instant you place it — not a full whiteboard or collaboration suite like the professional tools built for team brainstorming. There is no multi-user collaboration, no infinite pannable/zoomable canvas, and once a shape or piece of text is drawn, it becomes part of the raster image permanently — you cannot click back on it later to move, resize or re-edit it as a separate object, the same way you can't pick a single stroke back up off a real whiteboard once the marker has touched it. If you need an editable, re-selectable vector shape you can move around after the fact, that's exactly what the companion SVG Editor tool in this category is built for instead.

Details & Tips

How Undo/Redo actually works: before each committed drawing action (a completed pen or eraser stroke, a committed rectangle or circle, or a placed piece of text), the tool takes a full snapshot of the canvas using `canvas.toDataURL()` and pushes it onto a history stack — this captures exactly what the canvas looked like *before* that action started. Clicking Undo pushes the canvas's *current* state onto a separate redo stack, then pops the most recent entry off the history stack and redraws the canvas back to it. Clicking Redo does the reverse: it pushes the current state onto history and restores the most recent entry popped off the redo stack. Starting any *new* drawing action after an undo clears the redo stack completely — this is standard, expected undo/redo behaviour: once you've drawn something new, the version you'd previously undone past is gone, the same way it works in any text editor or design tool. The history stack is capped at 30 entries; once full, adding a new one silently drops the single oldest entry first, so the tool never accumulates unbounded memory even through a very long drawing session. Rectangles and circles are drawn with a live preview: while you drag, the in-progress shape is rendered on a separate, invisible overlay canvas stacked exactly on top of the main one, so you can see exactly where it'll land before committing. Releasing the pointer draws the final shape onto the real canvas and clears the overlay. A shape smaller than 3 pixels in either dimension (an accidental click rather than a deliberate drag) is discarded rather than committed, so a stray tap doesn't leave a tiny invisible mark or waste an undo step. The Text tool works differently from the others: clicking a point on the canvas opens a simple prompt for you to type into, and the typed text is immediately drawn onto the canvas at that point using the current color, with its size controlled by the same stroke-width control used for Pen and Eraser (2px stroke draws small 12px text, 16px stroke draws large 96px text — a deliberate reuse of one control rather than adding a separate font-size slider). The moment text is placed, it is pixels like everything else on the canvas — there's no later "double-click to edit this text" step, which is an accepted, expected limitation for a freehand whiteboard rather than a document editor. Autosave: after every committed action, the canvas is also saved as a data URL to this browser's `localStorage`, and restored automatically the next time you open this page. Because `localStorage` has a browser-enforced size limit (typically 5-10MB per site, shared across everything else the site stores there), the autosave checks the size of the encoded image first and silently skips saving — no error shown — if it would exceed roughly 4MB, since a giant, extremely detailed drawing that no longer fits comfortably is better left un-autosaved than risking breaking storage for the rest of the site. This autosave is strictly local to this one browser on this one device: it is never uploaded anywhere, it is not synced between devices or browsers, and clearing your browser's site data (or using a different browser or private/incognito window) will not show a previously autosaved drawing. Worked example tracing the undo/redo logic exactly: draw shape A (history becomes [blank-canvas]), draw shape B (history becomes [blank-canvas, A]). Click Undo: the canvas now shows A, and redo stack holds [A+B]. Now draw shape C instead of redoing: history becomes [blank-canvas, A] again (the pre-C state, A, gets pushed) and — critically — the redo stack is cleared the moment a new action is drawn, so clicking Redo at this point does nothing, exactly as expected, since B no longer exists in any future the tool can restore.

Frequently Asked Questions

Can I edit a shape or piece of text after I've drawn it?
No — once anything is drawn, it becomes part of the canvas image (raster pixels), not a separate, selectable object. This is a deliberate scope limitation for a freehand whiteboard. If you need shapes and text you can move, resize or re-edit after placing them, use the SVG Editor tool instead.
How far back can I undo?
Up to 30 steps. The history stack is capped at 30 snapshots to keep memory use bounded during a long drawing session — once full, adding a new step silently drops the single oldest one.
Why did Redo stop working after I drew something new?
Drawing a new action after an Undo clears the redo stack — this is standard undo/redo behaviour in any editor. Once you've drawn something new, the path you undid past no longer exists to redo back into.
What does the Eraser actually do to the canvas?
It uses the canvas's "destination-out" compositing mode, which cuts a transparent hole in existing pixels rather than painting a new color over them — functionally identical to a real eraser removing what's underneath rather than covering it up.
How does the Text tool control font size?
It reuses the same stroke-width control used for Pen and Eraser — a 2px setting draws small text, 16px draws large text — rather than adding a separate font-size control, keeping the toolbar simple.
Is my drawing saved anywhere online?
No. An autosave copy is kept only in this browser's local storage on this device, purely so a refresh doesn't lose your work. It is never uploaded, never synced across devices, and disappears if you clear your browser's site data.
What happens if my drawing gets too large to autosave?
If the encoded drawing would take up more than roughly 4MB of local storage, autosave silently skips that save (no error is shown) rather than risking browser storage limits — you can still Undo, continue drawing, and download manually at any point.
Why did my rectangle or circle not appear after a quick click?
Shapes smaller than about 3 pixels in either dimension are treated as an accidental click rather than a deliberate drag, and are discarded instead of committed, so a stray tap doesn't leave an invisible mark or waste an undo step.
Does Clear ask for confirmation before wiping my drawing?
Yes — Clear shows a confirmation dialog first, since wiping the canvas is destructive. You can still Undo immediately afterward if you clicked it by mistake, as long as you haven't navigated away.
Can I use this on a touchscreen or with a stylus?
Yes — it's built on Pointer Events, the same browser API that reports mouse, touch and stylus input through one consistent interface, so drawing works the same way across input devices without any special mode switch.
Is anything I draw ever sent to a server?
No. Every stroke, shape and piece of text is rendered with JavaScript running locally in your browser — nothing is transmitted, logged or stored anywhere except the optional local-only autosave copy described above.

Part of These Collections

Also Available As

online whiteboard, drawing canvas, sketch online, freehand drawing tool, digital whiteboard, browser whiteboard

Found a Problem?

Let us know if something with Online Whiteboard isn't working as expected.

Thanks — we'll take a look.