Skip to content

Add text to image

Put captions and titles on a picture, exactly where you want them.

Drop an image here

JPG, PNG, WebP, HEIC, SVG and more · or paste with Ctrl+V / ⌘V

How to use Add text to image

  1. Open your image. Drop a photo onto the canvas or select a file from your device.
  2. Type and style your text. Enter your caption in the Text box, then pick a Font, Size, alignment, and Colour.
  3. Position and enhance legibility. Drag the text on the preview or nudge with arrow keys, and toggle Outline, Shadow, or Background.
  4. Add extra boxes and save. Click + Add another text for additional labels, then click Save picture to download.

Your files are processed on this device and never uploaded. They stay private, and there's nothing to delete afterwards.

How do you keep text readable over busy photo backgrounds?

Enable Outline, Shadow, or Background in the styling bar so bright white or colored letters stay legible against high-contrast highlights and shadows in your photo. Combining a thin dark outline with a subtle drop shadow separates text cleanly without hiding the image behind it.

Combining round-joined outlines with drop shadows

Plain text placed over sunlit foliage or patterned clothing often disappears wherever the background matches the font color. Turning on Outline draws a stroke equal to 8% (0.08x) of the font size around every glyph using the MDN Web Docs CanvasRenderingContext2D.strokeText() API.

Setting lineJoin to round prevents sharp spiky corners on letters like A, V, and W. Toggling Shadow adds a soft 55% black drop shadow underneath; if you want clean white margins around your photo before adding captions, add a solid white border around your photo first.

Using translucent background boxes for dense captions

When placing multi-line instructions or dark text over a chaotic background, outlines alone can still feel busy. Ticking Background draws a rounded translucent black pill (rgba(0, 0, 0, 0.6)) behind the entire wrapped text block with 0.35x horizontal padding.

That pill container guarantees high contrast for body-sized labels without forcing you to darken the whole photograph. You can switch between Outline, Shadow, and Background independently on each text layer.

Managing multiple text layers, typography, and exact positioning

Product callouts, social graphics, and annotated screenshots often need a bold headline plus smaller corner labels. Adding separate layers lets you style and position each caption without affecting the others.

Dragging captions and nudging with keyboard arrow keys

Click + Add another text to drop a new box onto the stage, then click any layer pill below the button to switch focus. You can drag boxes freely with a mouse or finger, or press arrow keys to nudge the active box by 4 px (20 px with Shift).

The editor draws filled characters at full resolution via the MDN Web Docs CanvasRenderingContext2D.fillText() API. For classic top-and-bottom viral captions with Impact defaults, switch to our dedicated top-and-bottom meme caption layout.

Zero-download system font stacks and line wrapping

The Font selector offers six system stacks: Sans, Serif, Impact (meme), Rounded, Handwriting, and Typewriter. Bold toggles between 800 and 400 font weights, while Alignment switches between Left, Centre, and Right inside the text block.

Every stack ends with a generic CSS family so it renders offline on Windows, macOS, Linux, iOS, and Android with zero font file downloads. Long lines wrap automatically at 92% of canvas width using a 1.18x line-height multiplier.

Typography, styling, and resolution controls reference

Knowing the exact proportions used by the canvas renderer helps you balance font sizes and stroke weights across mobile screenshots and high-resolution camera photos. This table lists the code-verified defaults and limits.

Control Range or options Underlying code value Visual effect
Size slider 1.5% to 40% of image height Minimum 8 px, default 8% of min side Scales proportionally to photo size
Bold (B) On / Off (default On) 800 weight vs 400 weight Thickens strokes for display titles
Outline On / Off + color picker 0.08x font size, round lineJoin Crisp border around every character
Shadow On / Off (default On) rgba(0, 0, 0, 0.55), 0.18x blur Soft depth behind text and outlines
Background On / Off (default Off) rgba(0, 0, 0, 0.6), 0.2x corner radius Rounded dark pill behind text lines
Line wrap Automatic 92% max width, 1.18x line height Keeps text inside image margins

Once compositing finishes, the MDN Web Docs HTMLCanvasElement.toBlob() API encodes your picture directly in browser memory. If you need to repeat a transparent copyright stamp across batch photos, use the dedicated batch watermark tool instead.

Full-resolution local export and client-side privacy guarantees

Personal family photos, unreleased product mockups, and internal screenshots should never pass through third-party servers just to add a label. Every coordinate calculation and pixel export happens locally inside your browser tab.

Scaling stage coordinates back to full image dimensions

Because a 3,000 px photo cannot fit unscaled inside a browser viewport, the stage tracks a live ratio (stageW / imageWidth) as you drag layers around. When you click Save picture, each layer’s x, y, and font size are scaled back to the full native canvas resolution.

That separation between the interactive preview and final render keeps dragging responsive on mobile phones while guaranteeing sharp anti-aliased typography in the downloaded file. You can place small 8 px watermarks or giant 40% banner headlines without pixelation.

Tip: Use Alignment (Left, Centre, or Right) when writing multi-line paragraphs inside a single box, then press Shift plus arrow keys for fast 20 px alignment near image corners.

If you are mocking up UI cards before real copy is finalized, generate sample paragraphs with Lorem ipsum generator and paste them straight into the Text box.

Preserving JPG and PNG formats without cloud uploads

Output files keep your source format whenever possible, saving JPG photos as high-quality JPGs and PNG graphics as lossless PNGs with -text appended to the filename. Canvases exceeding 4,096 px per side or 16,777,216 pixels scale down proportionally to stay within browser memory limits.

Questions

Which fonts are available without downloading extra files?

The editor provides six built-in system font stacks: Sans, Serif, Impact (meme), Rounded, Handwriting, and Typewriter. Because every stack resolves to fonts already installed on your operating system, nothing is downloaded over the network and offline editing works right away.

Does adding text lower the resolution of my photo?

No. Even though the interactive preview scales to fit your browser window, clicking Save picture composites every text layer onto a full-resolution canvas up to 4,096 pixels per side. JPG photos save as high-quality JPGs and PNGs stay lossless PNGs.

Can I add multiple separate text layers to one picture?

Yes. Click + Add another text to insert additional independent text boxes, each with its own font, size, color, outline, and position. Layer switcher pills let you select any box or remove it with Delete this text.

How do I move a text box accurately on a touch screen or keyboard?

Drag any text layer with your mouse or finger, or click a box to select it and press the arrow keys to nudge it by 4 screen pixels. Holding Shift while pressing an arrow key moves the selected layer in larger 20-pixel steps.

Can I edit the text again after saving the image?

No. Saving flattens the text pixels onto the bitmap image so any viewer or social platform displays it identically. Keep a copy of your original uncaptioned photo if you expect to revise the wording later.

Why do long captions wrap automatically near the edges?

The text renderer measures each word against 92% of the image width and wraps lines automatically at 1.18x line height. That prevents long sentences from overflowing off the left or right edges of narrow portrait photos.

Updated