15 min / beginner / 5 steps

Make a Meme Generator

Describe the meme you want. Claude builds a page that creates memes with custom text on any image.

You are going to build a real, working meme generator. Upload any image, slap some text on it, download the result. No coding required. Claude will write all the Canvas API magic for you. By the end you will have a tool you can actually use, and a story to tell at dinner.

follow along in

You need: A Claude account. Open claude.ai in a browser, or the Claude desktop app.

  1. step 01 / 05

    Tell Claude what you want

    Describe the meme generator you want to build. Be specific: you want to upload an image, add text at the top and bottom, and download the result. Claude will plan the whole thing before writing a single line.

    Prompt
    Build me a meme generator as a single HTML file. It should: - Let me upload any image from my computer - Add bold white text at the top and bottom (classic meme style) - Show a live preview as I type - Have a Download button that saves the final meme as a PNG - Work entirely in the browser, no server needed

    what you should see

  2. step 02 / 05

    Watch it get built

    Claude writes the HTML, CSS, and Canvas API code all at once. Watch it create the file and explain what each piece does. The Canvas API is what lets you draw text on top of images in the browser.

    what you should see

  3. step 03 / 05

    Try it out

    Open the file in your browser. Upload any image from your computer, type something in the top and bottom text fields, and watch the preview update live. Then hit Download to save your masterpiece.

    Prompt 1 of 2
    I saved the file and opened it. The canvas is blank and nothing shows up when I type.
    Prompt 2 of 2
    Works! I uploaded a photo and the text appeared instantly. This is amazing.

    what you should see

  4. step 04 / 05

    Make it better

    The basic version works. Now let's make it great. Ask Claude to add more features: a font size slider, a color picker for text, built-in meme templates, or the ability to drag text anywhere on the image.

    Prompt
    Add these features to my meme generator: 1. A font size slider (20px to 120px) 2. A text color picker (default white) 3. Three preset meme templates I can click to load 4. Drag-and-drop to reposition text on the canvas

    what you should see

  5. step 05 / 05

    Save your favorites

    The Download button saves one meme at a time. But what if you want a gallery? Ask Claude to add a "Save to Gallery" feature that keeps your creations in the same page so you can browse and re-download them anytime.

    Prompt
    Add a meme gallery below the canvas. When I click "Save to Gallery", the current meme gets added to a grid of thumbnail previews below. Clicking a thumbnail downloads it again. Keep the gallery in memory (no server needed).

    what you should see

Tell someone what you built

Just finished "Make a Meme Generator" on Claude Code Guide. Took about 15 min, and it's free: https://claudecodeguide.dev/tutorials/meme-generator

New guides, when they ship

One email, roughly weekly. CLAUDE.md templates, workflows I actually use, and the cut-for-length stuff that does not make the public guides. One-click unsubscribe.

Or read Product Field Notes, the Substack