Home › Image Tools › Text Behind Image

Text Behind Image

Create the popular depth effect where a headline sits behind the person or object in your photo. The subject is detected in your browser, then you style the text, drag it into place and download a full-resolution PNG or JPG.

Last updated:

Sample photo shown. Drag the text, or add your own photo.

Text
Subject
Brush
Advertisement
Advertisement

How to use the Text Behind Image

  1. Add a photo: drop, paste or choose a picture with a clear subject, such as a person, an animal, a building or a mountain. A sample is shown until you do.
  2. Wait for the subject to be detected: the AI model cuts out the foreground. Use the brush to add or remove areas if needed.
  3. Type your text and pick the font, size, color and spacing. Big, heavy fonts give the strongest effect.
  4. Position the text: drag it on the picture or use the X, Y and rotation sliders, so the subject covers part of the letters.
  5. Download the result as PNG or JPG at the original resolution, or copy it to the clipboard.

Tips for a striking text behind image effect

  • Choose the right photo. The effect needs a subject that rises into open space: a person with sky or a plain wall above the head, a mountain peak, a skyscraper, a car or a pet photographed from a low angle.
  • Go big and heavy. Large, very bold fonts such as Impact or Arial Black work best. The subject should hide roughly a quarter to a third of the letters, enough to create depth while the word stays readable.
  • Overlap the edge, not the center. Let the subject cover the lower part or one side of the text. If the subject hides the middle of a short word, the word becomes hard to read.
  • Match the light. White or light text on a darker sky, or a color picked from the photo, looks more natural than pure black. Lower the opacity a little to blend the text into hazy backgrounds.
  • Add a front caption. A small second line placed In front (a name, date or location) completes the poster look.

How the layers are stacked

OrderLayerWhat it does
1 (bottom)Original photoThe full picture, used as the background
2Text set to Behind subjectDrawn over the background
3Subject cut-outThe same photo with only the subject kept, so it covers the text where they overlap
4 (top)Text set to In frontDrawn over everything, fully visible

Because the cut-out comes from the same photo, the subject lines up pixel for pixel with the background. Only the mask decides where text is hidden, so cleaning the mask with the brush directly improves the result along the edges of the letters.

Good uses for the effect

YouTube thumbnails, Instagram and TikTok posts, event posters, album and podcast covers, travel photos with the name of the place, team or product photos with a slogan, and title cards for presentations.

Frequently asked questions

How does the text behind image effect work?

The photo is split into two layers: the background and the cut-out subject. The text is drawn on top of the background, and the subject is drawn again on top of the text. Wherever the subject overlaps the letters, it hides them, which makes the text look like it stands behind the person or object.

Which photos work best?

Photos with one clear subject that fills a good part of the frame and overlaps open space, such as a person in front of a sky, a mountain peak, a city skyline or a product on a plain backdrop. Leave room above or beside the subject for the text, and use a big, bold font so the subject covers only part of it.

Is the subject detection done online?

No. The AI segmentation model is downloaded once from a public CDN (a few tens of megabytes, then cached by your browser) and runs on your device. Your photo is never uploaded. If the model cannot load, the tool uses a quick color-based detection that works well for photos with a sky or plain background.

How do I fix parts of the subject that were missed?

Choose Add in the Subject brush and paint over the missed area, or choose Remove to take away background that was treated as subject. Turn on Highlight subject to see the mask in green while you paint. Undo reverts the last stroke.

Can I put some text in front of the subject?

Yes. Each text layer has a Behind or In front setting. A common layout is a big headline behind the subject and a small caption or name in front of it.

What resolution is the downloaded image?

The same as your photo, up to 4000 pixels on the longest side. Larger photos are scaled down to 4000 pixels to keep the editor fast.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Add Text to ImageAdd styled text layers with outline and shadow to any photo, then downloadBackground RemoverRemove image backgrounds automatically with AI.Meme GeneratorMake memes with classic templates and custom text.Sticker MakerTurn a photo into a die-cut sticker: remove the background, add a white outline and shadow.Image CompressorShrink images to a target size like 100 KB.Image ResizerResize images to any size without losing quality.Compress Image to 20KBShrink any photo to under 20KB (or any target size).Compress Image to 100KBShrink any photo to under 100KB automatically, with the best quality that fits.Compress JPEG to 50KBShrink photos to under 50KB for forms, passports and exams.Image CropperCrop images, including circle crops for profile pictures.Rotate & Flip ImageRotate images by any angle or mirror them, one or many at once.Collage MakerCombine photos into a grid collage.Aspect Ratio CalculatorCalculate image sizes for 16:9, 4:3 and any ratio.Image Border AdderAdd a border, rounded corners, matte and shadow to a photo onlineImage SplitterSplit an image into a rows × columns grid of tiles and download them one by one or as a ZIP.Image CombinerCombine images side by side, stacked or in a grid, with spacing, background color and alignment.Image UpscalerEnlarge images 2×, 3× or 4× with Lanczos-3 or bicubic resampling and optional sharpening.Image DPI ChangerChange the DPI of JPG and PNG images without re-encoding, and see the print size.Pixel Art MakerDraw pixel art on an 8 to 64 px grid with palettes, fill and mirror, then export PNG or SVG.Social Media Image ResizerResize photos for Instagram, Facebook, X, LinkedIn, YouTube, TikTok and Pinterest in one go.Image Diff CheckerCompare two images and highlight every changed pixel, with % difference and a swipe slider.Emoji to ImageTurn any emoji into a PNG image from 64 to 1024 px, transparent or on a color, in batch.Text to ImageTurn text into a PNG image with your font, size, colors, padding, alignment and wrapping.SVG OptimizerMinify SVG files: strip metadata, comments and editor junk, round numbers, compare sizes.Compress Image to 200KBShrink any photo to under 200KB automatically, with the best quality that fits.Crop GIFCrop an animated GIF with a draggable box or aspect ratio presets, keeping every frame.Crop Image into ShapeCrop a photo into a heart, star, hexagon, circle, speech bubble or custom SVG shape as a PNG.Drawing Grid MakerPut a numbered grid on a reference photo to copy it by hand. Print it or save as PNG or PDF.Resize GIFResize an animated GIF by width, height or percent, skip frames and compare file sizes.Square Image Maker (No Crop)Make any photo square, 4:5 or 9:16 without cropping, with a color, blur or gradient fill.Bulk Image ResizerResize many images at once by width, height, percent or longest side and download a ZIP.JPG to WordTurn photos and scans into an editable Word document with OCR. Batch images, 30+ languages.PNG CompressorShrink PNG files up to 80% with smart color reduction that keeps transparency. Batch + ZIP.Photo Measurement ToolMeasure distances, areas and angles on a photo using a card or ruler in the picture for scale.Pupillary Distance MeasurementMeasure your PD in mm from a webcam or photo with a card for scale, single and dual PD.Brighten ImageBrighten dark photos with auto exposure, shadows lift and highlight protection. Batch, no upload.Change Image Aspect RatioConvert photos to 1:1, 4:5, 16:9, 9:16, 3:2 or any ratio by crop, color padding or blur fill.Crop Photo for PrintCrop photos to 4x6, 5x7, 8x10, 11x14 or A4 print ratios with a DPI quality check, then export.Resize Image in CM and InchesResize a photo to an exact print size in cm, mm or inches at any DPI. JPG, PNG or PDF.Online Screenshot ToolCapture your screen, a window or a tab, then crop, annotate and copy or save it as PNG.Trim Image WhitespaceAuto-crop white borders or transparent padding from images with tolerance and margin. Batch.Fix Image OrientationRotate sideways photos upright for good by applying the EXIF orientation to the pixels, in batch.Image Format DetectorFind an image's real format from its magic bytes, see size and bit depth, and fix a wrong extension.Increase Image Size in KBMake a photo's file size bigger (e.g. 50 KB or more) to pass minimum upload limits, with no visible change.Megapixel CalculatorTurn width × height into megapixels, aspect ratio and max print size, or MP back to pixels.Volleyball Rotation ToolEnter 6 players and a 5-1, 6-2 or 4-2 system to see all rotations and serve receive on a court.Auto Face CropDetect faces and crop centered headshots at any ratio and padding, in batch.Content-Aware Image ResizeResize images with seam carving to keep people and objects intact; protect or remove areas.Scanned Photo SplitterSplit several photos from one flatbed scan: auto-detect, straighten and crop each, then ZIP.Long Screenshot StitcherStitch scrolling screenshots into one long image with automatic overlap detection.Image to Minecraft Pixel ArtConvert any image into Minecraft block pixel art with block counts, stacks and a row-by-row build guide.Pixel Art UpscalerUpscale pixel art and sprites crisply with nearest neighbor, Scale2x/3x or xBR, keeping transparency.
See all 49 Resize, Crop & Compress →