Text Behind Image Effect Maker

Open a photo, the subject is cut out on your device, then type a headline that sits behind it while other text can sit in front.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open the photo

    Press Open a photo and pick an image; the subject cut-out starts automatically.

  2. 2
    Type the headline

    Edit the first text layer and press Fit to width so it spans the picture.

  3. 3
    Style it

    Choose font, weight, colour or gradient, outline, shadow and letter spacing.

  4. 4
    Place it

    Drag the text on the preview or nudge it with the arrow keys; keep Behind the subject on.

  5. 5
    Fix the edges

    Use Erase subject or Restore subject with a suitable brush size where the cut-out is wrong.

  6. 6
    Export

    Pick the canvas size, then download PNG, JPG or WebP, or the cut-out alone.

About this tool

The text behind image look is everywhere on magazine covers, YouTube thumbnails and Instagram posts: a huge word such as a city name or a season sits in the background, and the person in front of it partly covers the letters. It looks like a studio composite, but it only needs three layers stacked in the right order: the original photo, the text, and a copy of the subject with the background removed placed on top. This maker builds that stack for you. When you open a photo it runs U-2-Net, a small salient object model of about 4.6 MB that is served from this site and runs with ONNX Runtime Web inside your browser, to find the main subject and cut it out. You then add one or more text layers and choose, for each one, whether it goes behind the subject or in front of everything. Each layer has its own font, weight, size, colour or two-colour gradient, outline, shadow, letter spacing, rotation and opacity, and you move it by dragging on the picture or with the arrow keys. The automatic cut-out is good on clear portraits, pets, products and buildings, but edges such as loose hair or a hand in front of a busy background sometimes need help, so a brush lets you erase parts of the subject (to let text show between arms, for example) or paint the subject back where the model missed it. The canvas can stay at the photo's own size or switch to square, 4:5, 9:16 story, 16:9 or YouTube thumbnail sizes, with zoom and pan to frame the shot.

Getting a clean result

Pick a photo where the subject is separated from the background by colour or light, and where there is empty sky, wall or floor above or around the subject for the text. Big, heavy fonts work best because only part of each letter is visible: the reader's eye fills in the hidden part, but thin letters disappear too quickly. Put the text at about head or shoulder height so the subject covers the lower half of a few letters, not the whole word. Turn on Fit to width for a word that runs edge to edge, then lower the size slightly so the first and last letters are not cut by the frame.

Layers in front and behind

Every text layer has a Behind the subject switch. Typical posters use one big word behind and one small caption in front, such as a date or a name. The subject shadow slider adds a soft shadow around the cut-out, which separates it from light text. Darken background helps white text on a bright sky.

Fixing the cut-out

Choose Erase subject and paint where the background should be, or Restore subject where hair or fingers were removed. Undo brush steps back up to ten brush strokes; Undo and Redo in the toolbar cover text and layout changes. Download Cut-out only saves the subject as a transparent PNG for other projects.

Limits

This is not a professional masking tool. The model works on a 320 x 320 version of the photo, so very fine hair and glass edges are approximate, and two separate people may be treated as one subject or only one may be found. Photos are scaled to at most 2,000 pixels on the long side to keep phones from running out of memory. Your own font files are used only in this browser session. Use photos you have the right to edit and publish.

Worked example

A 3,000 x 4,000 portrait taken against a pale wall is set to Portrait 4:5 at 1080 x 1350. The cut-out finds the person in about two seconds on a laptop. A layer reading WEEKEND in Impact, weight Black, white, is placed behind at 30 % height and Fit to width makes it 0.24 of the canvas height. A second layer, 12 JULY, 6 % of the height, sits in front near the bottom. The subject shadow at 40 % separates the hair from the white letters, and a PNG of about 1.6 MB is downloaded.

Quick facts

Frequently asked questions

Is my photo uploaded to a server for the cut-out?

No. The model file is downloaded once from this website, cached by the browser, and runs on your device. The photo and the result never leave your computer or phone.

Why does the text show in front of some parts of the subject?

The cut-out missed those areas. Select Restore subject and paint over them, or Erase subject where the background was wrongly kept. Increase the brush size for big areas and lower it near edges.

Which fonts can I use?

A set of fonts found on most computers and phones, plus any TTF, OTF, WOFF or WOFF2 file you open with Use your own font file. Check the font licence allows use in images you publish.

Can I put more than one word behind the person?

Yes. Add as many text layers as you like; each has its own Behind the subject switch, size, colour and position, and you can break a layer into several lines with Enter.

What size should I export for Instagram, Reels or YouTube?

Choose Portrait 4:5 (1080 x 1350) for the feed, Story 9:16 (1080 x 1920) for Reels and Stories, and the YouTube thumbnail size (1280 x 720) for thumbnails. Zoom and the two move sliders frame the photo.

Does it work on a phone?

Yes. Drag the text with a finger, use the sliders for fine changes, and download the PNG. Older phones take longer for the first cut-out while the model starts.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages