Skip to main content

Meme generator

Create a meme locally from your own image with configurable text, color, size, and output format.

  • Export
Automate

Embed this widget

Customize the result, check the live preview, then copy the code.

Preview

Embed code type

Code to copy

Responsive and automatically resized by Bethemesh.

Your files are processed locally in your browser and are never sent to our servers.

Add readable top and/or bottom text to an image without uploading it.

Drop your file here

Recommended size: up to 25 MB

Need more editing options?

Use multiple editing tools in one workspace, with your open file and its current edits.

Open the full editor

Was this tool useful?

On this page

How does this tool work?

A meme pairs an image with a setup line at the top and a punchline at the bottom, in big white letters outlined in black so they stay readable on any photo. This generator starts from your own image, with no template library, adds one or two captions in the size and colour you choose, and builds the file in your browser.

Import a PNG, JPEG or WebP image, then type the Top text, the Bottom text, or both: one caption is enough. Choose the Text color, white by default, and the Text size, from 4 to 24% of the image width (9% by default).

Each caption is centred, 3% from the top or bottom edge, in bold letters with a black outline that sets it apart from light and dark backgrounds. A caption too long for the width is automatically shrunk to fit between the margins instead of being cut off; it stays on a single line.

Choose the Output format (WebP by default, JPEG or PNG) and the Quality, then click Process image. The preview shows the meme, saved under the image name followed by -meme.

How to use this tool

  1. Import the image

    Drop the photo that will be the meme's background.

  2. Write the captions

    Type the top and/or bottom text, then set the colour and size.

  3. Generate and download

    Choose the format, click Process image and download the result.

Caption size

The size follows the image width, then shrinks if the caption does not fit between the margins.

Starting size

F = max(12, round(W × t ÷ 100))

t is the Text size setting, from 4 to 24%.

Shrinking to fit the width

F' = ⌊F × (W − 2m) ÷ L⌋ if L > W − 2m

m = 3% of the shorter side; the size never goes below 12 px.

W
image width
L
caption width at the starting size
m
edge margin

Use cases

React in a chat

Turn a group or pet photo into a personal meme to share in a messaging app.

Liven up a presentation

Add a touch of humour to a slide with an image captioned in two beats.

Internal communication

Create a light visual for a team channel without sending a private photo to an online generator.

Examples

Square meme with two captions

Size: 1,080 × 9% = 97.2, rounded to 97 px. Margin: 1,080 × 3% = 32 px. Both lines are centred horizontally.

Input

1,080 × 1,080 px image, "WHEN THE CODE COMPILES" at the top, "ON THE FIRST TRY" at the bottom, size 9%

Result

97 px high captions, 32 px from the top and bottom edges

Long caption shrunk automatically

Available width: 1,080 − 2 × 32 = 1,016 px. Reduced size: ⌊97 × 1,016 ÷ 1,400⌋ = 70 px. The sentence stays whole, with nothing cut off at the edge.

Input

Same image, caption that would be 1,400 px wide at 97 px

Result

Caption reduced to 70 px to fit in 1,016 px

Tips and best practices

  • Type in capitals for the classic meme look: the tool does not change the case.
  • Keep captions short: beyond five or six words the size has to drop and reading slows down.
  • Prefer an image with sky or a plain background at the top and bottom: captions read better there.
  • For a caption placed elsewhere or on several lines, use the annotation tool, which lets you draw a text box.

Frequently asked questions

Can I make a meme with a single caption?

Yes. The top and bottom texts are independent; filling in one is enough.

What happens if my caption is too long?

It is shrunk automatically to fit within the image width, margins included. It stays on a single line.

Can I use the Impact font?

No, the text uses the bold system font with a black outline, a similar look that is always available.

Are there meme templates?

No, the tool works with your own images. Make sure you are allowed to use the image you pick.

Can I make an animated meme?

Not here: the result is a still image. For animation, create a GIF from several captioned images.

Is my image uploaded to a server?

No. The text is drawn and the image encoded in your browser.

Related tools

Tools similar or complementary to this one.

Works well with

Add text or a logo locally with adjustable position, opacity, size, and rotation.

Images & graphicsUse this tool

Apply blur, pixelation, grayscale, or sepia with adjustable intensity.

Images & graphicsUse this tool
GuideBest practicesBeginner

Image Metadata: Read It, Keep It, or Remove It?

Understand EXIF, GPS, XMP, IPTC, ICC profiles, rights information, and how to manage image metadata for privacy, publishing, and Web performance.

31 August 202613 min
GuideBest practicesBeginner

Convert a PDF to images or images to PDF

Learn what changes when PDF pages are rasterized, how resolution and image format affect quality, and when to assemble images into a PDF.

29 August 20262 min
TutorialBest practicesBeginner

Optimize images for the Web without losing quality

Resize, compress and choose between WebP, AVIF and other formats with a practical workflow that reduces file size without unnecessary visual loss.

30 August 20264 min