Add Text to Image

Add text to image files without uploading them: choose one picture, type a headline or caption, then set the font, size, color, outline, opacity, rotation and position. The text is drawn in your browser and exported as a PNG or JPG at the picture's original pixel size, with no watermark.

Drop files here or choose files
Image stays on your device · drawn in your browser · one picture up to 50 MB

How to use

  1. Choose one picture: Drop a single image onto the box or click to pick it — JPG, PNG and WebP are the everyday cases, up to 50 MiB, up to 16,700,000 pixels and with no edge longer than 8192 px. The file row then reports what you gave it, for example Original size: 1200 × 800 px.
  2. Type your text and style it: Clear the sample line in the Text box — Write your headline here — and type your own; Enter starts a new line. Then set Font, Weight, Size, Text color, Outline color, Outline, Opacity and Rotation, and use Wrap width to decide how wide the block may grow before it breaks.
  3. Place it on the picture: Click or drag directly on the preview to put the text where you want it, or tap one of the nine Quick positions buttons. Each of those sets the position and the Alignment together, so ↗ moves the text to the top right and switches Alignment to Right.
  4. Generate and save: Pick PNG or JPG under Output format and click Generate image. The line above the result gives the exported size in pixels and the file size, and Save to device downloads the file — on a phone it opens the system share sheet when the browser offers file sharing. Any change to the settings clears the result, so click Generate image again after an edit.

How to add text to image files in your browser

Add Text to Image adds one text block to one picture locally in your browser, then exports PNG or JPG at the original pixel dimensions. For example, a 3000 × 2000 image exports at 3000 × 2000. Each input must be no larger than 50 MiB, 16,700,000 pixels in total, or 8192 px on either edge.

All three limits apply at once, and the pixel ceiling is the one that catches people out, because it comes from how much a mobile browser will allocate for a single canvas rather than from the file size: a 24-megapixel camera photo at 6000 × 4000 is 24 million pixels, so it is turned away with the message asking you to shrink it first, however small the file is. It is also one picture at a time: drop several files together and the whole batch is refused with a count of what was rejected, and once a file is in place the drop zone is no longer on the page, so click the ✕ beside the file name before choosing a different picture. JPG, PNG and WebP are decoded by every current browser; anything less common depends on your own — a HEIC photo straight from a phone decodes on some devices and is refused as unreadable on others — so convert an unusual file first if you want a predictable result.

There is no server step to wait for and no upload bar to watch. The file is read straight from your disk through a local link, decoded by the browser's own image decoder, and drawn onto a canvas; the finished bytes come back as another local link that stops working once you leave the page. No WebAssembly engine is downloaded either — the drawing uses the 2D canvas already built into your browser, and the five fonts on offer are system fonts, so not a single font file is fetched. Because the drawing runs on the page's main thread, a very large picture can make the interface pause for a moment while the export is built: the button reads Generating… and every control is disabled until it finishes.

ControlWhat you can set
TextAny number of lines; Enter starts a new line
FontSans-serif, Serif, Poster, Monospace, Handwriting (system fonts)
WeightLight, Regular, Medium, Bold, Extra bold
Size8–240 px; starts at about 9% of the shorter edge
Text colorAny color
Outline colorAny color
Outline0–16 px (0 = fill only)
Opacity10–100%
Rotation−180° to 180°, text only
AlignmentLeft, Center, Right — where the block hangs on its point
Wrap width20–95% of the picture width, floor of twice the Size
Output formatPNG or JPG

The twelve controls, and the range each one covers.

Placing the caption: quick positions, dragging and wrap width

The nine Quick positions buttons are the fastest way to park a caption, and each one sets two things: the position and the Alignment that suits it. Tapping ↗ moves the text to the top right and switches Alignment to Right, which is worth knowing if you had chosen an alignment by hand. The corner positions keep a safety margin instead of hugging the frame: the anchor point sits 8% in from either side and 10% from the top or bottom. Large, multiline or rotated text can still reach the edge, so check the generated result for clipping.

For anything in between, click or drag on the preview itself. The position follows your pointer anywhere inside the drawn picture; a click that lands in the empty letterbox beside the picture, or a drag that wanders off the canvas, is ignored and the text simply stays where it last was, so it will not jump to an edge behind your back. Alignment then decides how the block hangs on that point: Left puts the point at the block's left edge, Center in its middle, Right at its right edge. Inside the block every line is centered against the others, so Alignment is about where the whole block sits, not about ragged-left or ragged-right lines.

Wrap width is the share of the picture's width the text may fill before it breaks, from 20% to 95%, and it has a floor: the tool uses whichever is larger, your percentage of the picture width or twice the current Size. Dragging the slider to 20% on a narrow picture therefore will not reduce you to one letter per line. Breaks fall between words for plain A–Z and 0–9 words. Letters with accents — é, ñ, ế — are not joined into a word by the line-breaker, so a word containing one can break in the middle; type your own break with Enter when that matters. Chinese, Japanese and Korean text and emoji break by character and are never split through a character, and the first word of a paragraph is never broken at all, so one very long word can run past the wrap width rather than being chopped. Blank lines you type are kept as blank lines.

Choosing a picture also sets Size for you: roughly 9% of the shorter edge, kept between 24 and 240 px, which is a sensible starting point for a poster headline before you take over with the slider's full 8–240 px range. Two side effects are worth remembering — picking a new picture recalculates that size, overriding a value you had set by hand, and it resets the position back to the middle. The fonts are five system stacks (Sans-serif, Serif, Poster, Monospace, Handwriting); where a face is missing a letter or an accent, the browser substitutes another font for that one character, which shows up most often with Poster and Handwriting.

Framing the shot before the caption goes on: Crop Image.

PNG or JPG: which output format to choose

Output format has exactly two entries, PNG and JPG, and that is the whole list — no WebP, AVIF or TIFF comes out of this page, whatever went in. Choose PNG when the source has transparency you want to keep, or when the picture is a screenshot, logo or diagram made of flat areas and sharp edges: PNG is written losslessly, so the edges of the letters stay crisp. Choose JPG for photographs, where a smaller file matters more than perfect edges.

The JPG branch does one thing you should know about in advance. Before the picture is drawn, the canvas is filled with white, because JPG has no transparency and a transparent background would otherwise come out black. So a transparent PNG saved here as JPG arrives with a white background — the hint under Output format says the same. JPG is encoded at quality 0.92, a fixed setting with no slider to move.

Because the export is encoded from scratch, the saved file can come out heavier than the one you started with, and that is normal rather than a sign something went wrong: a JPG originally saved at a thrifty quality is rewritten at 0.92, and a photographic PNG is rewritten pixel by pixel. The line above the result reports the exported pixel size and the file size read back from the finished bytes, so you can see what you actually got instead of guessing.

PNGJPG
Transparent backgroundKept as it wasFilled with white
EncodingLosslessFixed quality 0.92
SuitsScreenshots, logos, diagrams, flat colorPhotographs
Saved asphoto-text.pngphoto-text.jpg

The two output formats, and what each one does to your picture.

When a full-size export is too heavy to send or post, shrink it afterwards: Compress Image.

What the exported picture keeps, and what it drops

Pixels are kept in full. The export canvas is exactly as wide and as tall as the picture you put in, so nothing is scaled, and the letters are drawn into that full-resolution canvas rather than enlarged from the preview. Transparency survives a PNG export, because the white fill only happens on the JPG branch.

Metadata does not survive. The result is a new bitmap written out by the canvas, so EXIF — including any GPS coordinates your phone stored — along with XMP and the ICC color profile are gone from the file you download. That is convenient when you are posting a photo publicly, but treat it as a side effect rather than a feature of this page. Orientation is not a problem in practice: modern browsers apply the EXIF rotation tag while decoding, so a portrait phone photo is shown and exported the right way up, and because the result carries no EXIF nothing can rotate it a second time.

Animation does not survive either. A GIF or an animated WebP is drawn as a single frame, so what you download is a still picture. The original container is not kept: a WebP in means a PNG or a JPG out, decided by Output format and nothing else.

The preview is close to the export rather than identical to it, and the note under the canvas says so: the preview is scaled down to 1100 px on its long edge, with Size and Outline multiplied by the same factor so the layout stays proportional. Two things can still shift. The drawing code never goes below 8 px of text, so on a picture much larger than 1100 px combined with a very small Size, the preview text is relatively bigger than the exported text and can wrap in different places. And line breaks are measured with the font the browser actually chose, so a per-character fallback can move a break. When a caption has to land exactly, check the exported file rather than the preview.

A few things this page deliberately does not do. One text block only — there are no layers and no second caption with its own position, so write several lines instead, or export once and feed the downloaded file back in for a second block. No image watermarks, logos or stickers, and no tiled repeating watermark across the picture. No drop shadow, gradient fill, background box or frame behind the letters: the look comes from the fill color, the outline, the opacity and the rotation, and Opacity stops at 10% so the text can never be made fully invisible. Rotation turns the text alone and never the picture. It is not OCR, so text already printed in a picture cannot be read, edited or translated. And nothing is remembered between visits: there are no saved templates and no history, and the result link stops working as soon as you close or reload the tab.

How this tool is checked

  • The logic behind this tool is covered by 19 automated test cases (hand-checked examples, edge cases and invalid input), and they run again before every release.
  • Before each release, a real browser opens this page, runs it on sample files (including a damaged one) and checks the file it produces.
  • Your files are processed in your browser and are never uploaded to our server.
  • Formulas, figures and definitions are checked against the sources listed at the end of this page.

How we build and test our tools →

Frequently asked questions

Is my photo uploaded when I add text to it?
No. Your browser decodes the picture and draws the text on a canvas on your own device, and there is no server call anywhere in the process. Close the tab and the result link is gone; the original file on your disk is never touched.
Why does it say my image is past the browser's safe canvas limit?
The picture has more than 16,700,000 pixels, or one of its edges is longer than 8192 px. Both limits apply at the same time, and they come from how much a mobile browser will allocate for one canvas. A 6000 × 4000 camera photo is 24 million pixels, so make a smaller copy and try again.
Can I add text to several photos at once?
No, this tool takes one picture at a time. Dropping several files together refuses the whole batch and tells you how many were rejected, so nothing is silently dropped. To swap pictures, click the ✕ beside the file name first — the drop zone is hidden while a file is loaded.
Will the text look blurry after I download the image?
Text is rendered at the original image resolution. Choose PNG for screenshots or captions with fine edges; JPG is re-encoded at quality 0.92 and may introduce artifacts around letters. The positioning preview is reduced only when the image's long edge exceeds 1100 px.
How do I make white text readable on a light background?
Add an outline: set Outline color to black and drag the Outline slider up from 0 px, to roughly 2–6 px for a typical headline. The outline is stroked line by line on its own layer with rounded joins, so even a thick outline does not eat into the line above it.
Why is my downloaded file bigger than the original photo?
Because the export is encoded from scratch rather than patched into your original file. A JPG is written at quality 0.92 and a PNG is written losslessly, and either can be more generous than the settings your original was saved with. The line above the result shows the exact size you got.
Does the tool add a watermark to my picture?
No watermark is added. The only thing drawn on your picture is the text you typed, in the color, outline and opacity you chose, and there is no account to create before you can download it.
Can I put two separate captions in different corners?
Not in one pass, because the page draws a single text block, which may run over several lines. For a title at the top and a credit at the bottom, generate the first one, then start over and choose the downloaded file as the new picture for the second.
Does this work on an iPhone or Android phone?
Yes, in any modern mobile browser. Tap Save to device and the browser opens your system share sheet when it supports sharing files, and otherwise downloads the picture straight to the device; cancelling the share sheet saves nothing. Big pictures take longer, because your phone does the drawing.

Add this tool to your website

Free for any website, personal or commercial. Paste the code where you want the tool to appear — it works on WordPress, Blogger, Google Sites, Notion and plain HTML.

<div class="gingertool-widget" data-embed="https://gingertool.com/embed/en/image/add-text-to-image/" data-height="640" style="font-size: 13px; line-height: 20px; margin: 6px 0 16px; text-align: left">Add Text to Image &#183; <a href="https://gingertool.com/en/image/add-text-to-image/">Gingertool</a></div>
<script src="https://gingertool.com/embed.js" async></script>

Please keep the credit link below the tool. Embedded tools show no ads.

Step-by-step: Google Sites · Blogger · WordPress · Notion

Cite this tool

Using a result in a report, paper or assignment? Copy a ready-made reference.

APA
Gingertool. (2026). Add Text to Image [Online tool]. Retrieved November 24, 2026, from https://gingertool.com/en/image/add-text-to-image/
MLA
“Add Text to Image.” Gingertool, November 24, 2026, https://gingertool.com/en/image/add-text-to-image/. Accessed November 24, 2026.
BibTeX
@misc{gingertool-text-on-image,
  author = {{Gingertool}},
  title = {Add Text to Image},
  year = {2026},
  url = {https://gingertool.com/en/image/add-text-to-image/},
  note = {Accessed: 2026-11-24}
}