meme maker
Pick one of five classic templates or drop in your own image, type top and bottom captions, and the tool draws a finished meme on an HTML5 canvas — with automatic word wrapping, multi-line support, auto-fitting text size, and your choice of font, colour, outline and spacing. Download it as a PNG or copy it straight to your clipboard. Everything is drawn locally in your browser: uploaded images are never transmitted anywhere. The only external requests are the five template images, which are fetched from imgflip.com.
Drop an image anywhere on this panel, or paste one with Ctrl + V (⌘ + V on Mac).
How to Create a Meme
- Choose a base image — click one of the five built-in templates, or upload your own with the Select Image button, by dragging a file onto the preview panel, or by pasting an image from your clipboard.
- Type your captions — the top and bottom fields are pre-filled with example copy. Replace it. The preview redraws as you type; no button press required.
- Style the text — pick a colour (swatch or full colour picker), an outline, a font, a size and a line spacing. Leave the size on Auto-fit and the tool will shrink the type until both captions fit the image.
- Check the preview — the canvas shows exactly what will be exported, at the image's own resolution.
- Export — click Download PNG to save a file, or Copy to put the image straight on your clipboard for pasting into a chat or doc.
Want a forced line break? Press Enter in a caption field. Unlike the original version of this tool, manual line breaks are now rendered exactly where you put them — each newline starts a fresh line, and long lines still wrap automatically on top of that.
Tips for Memes That Actually Land
- Keep captions short. Four to eight words per position is the sweet spot. If the top caption runs past three lines, cut it — the joke is almost always in the shorter version.
- Leave the font on Auto-fit. It keeps the text inside the frame no matter how long the caption gets, and it protects you from the classic mistake of typing a paragraph that spills off the bottom edge.
- Contrast beats decoration. White text with a black outline is the default for a reason: it survives on top of almost any photo. If your background is very light, switch the text to black and let Auto contrast give you a white outline.
- Choose the template after the joke, not before. Write the caption first, then pick the image whose visual tension matches it. Template-first memes usually feel forced.
- Uppercase is the convention, not the law. Classic meme typography is all-caps, but sentence case reads as more deliberate and works better for deadpan or wholesome jokes. The Letter case dropdown switches between them instantly.
- Crop before you upload, not after. The canvas uses the full image, so trim distracting edges in your phone's photo editor first. There is no crop tool here by design — it keeps the code small and your file never leaves the device.
- Check the export at full size. The preview is scaled to fit your screen; open the downloaded PNG before you post it, especially if you used a very long caption.
What This Tool Does — and Its Limits
The editor draws your image onto an HTML5 canvas at its native resolution, then overlays the top
and bottom captions using the browser's own text renderer. Text is measured with
ctx.measureText() word by word, and a new line starts whenever the next word would
overflow the available width. Auto-fit font sizing repeatedly re-measures the wrapped result and
steps the size down until both caption blocks fit inside the image height.
Things worth knowing before you rely on it:
- Font size is relative to the image. The Small/Medium/Large/Extra-large presets are percentages of the image width, not fixed pixel values, so a 2400 px photo and a 600 px template get proportionally similar text. Auto-fit overrides the presets entirely.
- Only spaces and newlines break lines. The wrapper splits on whitespace and on the Enter key. It does not insert hyphens, and it will not balance two lines to equal length — it fills each line as far as it will go.
- Very long single words are hard-broken. If one word is wider than the image, it is chopped character by character rather than allowed to overflow.
- Large images are scaled down for performance. Anything wider or taller than 2400 px is drawn to fit that limit, so a 12-megapixel phone photo exports at 2400 px on its long edge rather than its original size.
- Impact is not on every device. The classic meme font ships with Windows and macOS but not with most phones and tablets, where the browser falls back to a generic sans-serif. Pick a different font from the dropdown if you need identical output across devices — Arial Black and Verdana are far more widely available.
- Templates come from imgflip.com. The thumbnails and the full-size template images are fetched from that third-party host. Your uploaded images are never sent anywhere.
- Output is always PNG. Regardless of whether you started from a JPEG, a WebP or a screenshot.
- There is no undo history. Reset clears everything back to a blank canvas.
Troubleshooting
The template thumbnails are blank or greyed out
The gallery is loaded from imgflip.com. If that host is blocked on your network, behind a strict firewall, or blocked by a browser extension, the thumbnails will not appear and clicking one will fail. Save any meme image to your device and use Select Image instead — uploaded images work entirely offline and are never affected by this.
The Download button does nothing
This is the canvas-tainting problem. A canvas that has had a cross-origin image drawn onto it without proper CORS headers is "tainted", and browsers refuse to let it be exported — for security reasons the page is not allowed to read pixels back out. This tool works around it by fetching the template as a blob first and converting it to a data URL, which keeps the canvas clean. If your browser still blocks the fetch, the tool falls back to a plain image load, the canvas becomes tainted, and you will see a yellow warning message. The fix is always the same: right-click the template, save it to your device, and upload it with Select Image. Downloads from uploaded images work reliably in every browser.
My text is cut off at the edges
Either the font size is too large for the caption you wrote, or the outline is very thick. Switch Text size back to Auto-fit, or shorten the caption. Auto-fit always leaves the chosen padding on every side, so if it still overflows, the caption is long enough that it has hit the minimum readable size — which is your cue to edit the words rather than the settings.
Copy does nothing
Clipboard image writing needs a secure (HTTPS) page and a browser that supports the async Clipboard API — Chrome, Edge and Safari do; older Firefox builds may not. The button tells you when it is unsupported. Use Download PNG instead; the result is identical.
Dragging a file onto the page doesn't work
Drop targets are the preview panel and the upload box. Some browsers also block file drops when the page is inside an iframe with restrictive sandbox settings. If drag-and-drop is blocked, use the Select Image button — it always works.
The preview looks blurry
The canvas is displayed scaled down to fit your screen, so a 2400 px image appears compressed in the preview. The exported PNG is full resolution. Open the downloaded file to judge sharpness.
Key Features
- Five built-in templates: Drake Hotline Bling, Distracted Boyfriend, Two Buttons, Change My Mind, Woman Yelling at Cat.
- Upload your own image by button, drag-and-drop, or clipboard paste.
- Auto-fit font sizing that shrinks the type until both captions fit the frame.
- Manual line breaks — Enter in a caption field is rendered as a real line break.
- Hard-breaking of oversized words so nothing ever overflows the edge.
- Eight font choices including the classic Impact and widely available fallbacks.
- Full colour picker plus eight quick swatches for the text colour.
- Auto-contrast outline — the stroke flips between black and white depending on how light your text colour is.
- Adjustable line spacing, letter case, and text size relative to the image.
- Live preview that redraws as you type, throttled to animation frames so it stays smooth.
- Export as PNG by download, or copy straight to the clipboard.
- Clear, specific error messages instead of silent failures.
- Keyboard-accessible template picker with pressed-state announcements for screen readers.
- All drawing happens in your browser — uploads never leave the page.
Common Uses
- Making a meme to drop in a group chat or post to social media.
- Turning a photo you already have into a caption-based joke.
- Adding a text overlay to a product shot or team photo for a company post.
- Practising meme formats for content creation or copywriting exercises — short captions are a surprisingly good constraint for learning to write tightly.
- Making a quick visual for a slide, a newsletter header or an internal announcement.
- Producing reaction images for a support inbox or community channel.
- Teaching the canvas API — the source is short enough to read end to end.
Keyboard & Accessibility
- Tab moves through the template buttons, the upload controls, every dropdown and all three action buttons. Templates are real
<button>elements, so Enter and Space activate them. - The active template is announced as a pressed toggle rather than being indicated by colour alone.
- Status messages — image loaded, export failed, copied to clipboard — are announced through an
aria-liveregion, so screen-reader users get the same feedback as everyone else. - Every colour swatch and icon button has an accessible label.
- The canvas carries a descriptive
aria-label; the meaningful description of your meme is still the text you typed, so keep captions readable if the image needs to be understood without being seen.
Frequently Asked Questions
How does the text wrapping work?
Each caption is split on spaces and on newline characters. The tool measures the running line with the canvas text-measurement API and starts a new line when adding the next word would overflow the available width, which is the canvas width minus a padding margin on each side. Words that are wider than the whole line on their own are broken character by character so they can never spill past the edge.
Can I add my own line breaks?
Yes. Press Enter inside either caption field and the break is rendered exactly there. Automatic wrapping still applies to each line you create, so a long line after a manual break will continue to wrap on its own.
How does Auto-fit decide on a font size?
It starts from a generous size, wraps both captions at that size, measures the total height of the two blocks including line spacing and the gap between them, and steps the size down until everything fits inside the image height with the padding intact. It stops at a minimum readable size — if your captions are so long that even the minimum does not fit, they will overlap, which is the tool's way of telling you to shorten them.
Why does my text look different on my phone?
Impact is not installed on most phones and tablets, so the browser substitutes a generic sans-serif. The size and position are identical; only the typeface changes. If you need the same look everywhere, choose Arial Black or Verdana from the font dropdown — both are near-universally available.
Is there a limit to how much text I can add?
Each caption field is capped at 300 characters, but the practical limit is much lower. Very long captions will either shrink to an unreadable size under Auto-fit or push the top block into the bottom block. A few words per position is the sweet spot.
Are my uploaded images private?
Yes. Uploaded images are read into the page as data URLs with the FileReader API and drawn directly onto the canvas. They are never uploaded to a server, never stored, and never leave the tab. The only external network requests the page makes are for the five built-in template thumbnails and the full-size template image when you select one, all from imgflip.com.
What resolution is the exported image?
The canvas is set to your source image's own pixel dimensions, so the PNG comes out at the same resolution as the image you loaded — capped at 2400 px on the longest edge for performance. A 600 × 600 template exports at 600 × 600; a 3000 px photo exports at 2400 px on its long edge.
Can I edit a meme I already exported?
Yes — upload the exported PNG as a new base image and caption over the top. The old text stays baked in, so this is usually only worth doing if you want to add something rather than change something. Keeping the original source image means you can always re-render a clean version here.
Does it work offline?
The editor, the uploader and the exporter all work offline once the page has loaded, because everything runs client-side. Only the five built-in templates need a network connection — uploaded images never do.
Why doesn't the Download button work with a template?
Images loaded from another domain without proper CORS headers taint the canvas and block export. The tool avoids this by fetching templates as blobs and converting them to same-origin data URLs before drawing. If that fetch is blocked by your network or browser, the tool says so and you can save the template image manually and upload it — uploaded images are always on your own origin and always export cleanly.
Privacy
Everything you type and every image you upload stays inside your browser tab. Uploaded images are read with the FileReader API as data URLs and drawn directly onto the canvas — they are never transmitted to a server, never stored, and never leave the page. The meme you download is generated entirely on your own machine. The only external network requests this page makes are for the five built-in template thumbnails and, when you select one, its full-size version — all loaded from imgflip.com. No analytics, no tracking pixels, no cookies are set by this tool.
Last reviewed: September 2026