Home › Image Tools › Stereogram Generator

Stereogram Generator

Create your own hidden 3D pictures, the kind made famous by Magic Eye posters. Type a word, pick a shape or upload a depth map, choose random dots, a colorful texture or your own pattern tile, and download a high-resolution PNG. The image updates as you type and is generated entirely on your device.

Last updated:

Hidden 3D object

How to see the hidden image
  1. Make the picture large and sit about an arm's length away.
  2. Relax your eyes and look through the screen, as if at a wall far behind it.
  3. Watch the two guide dots: when they turn into three, hold that gaze.
  4. Slowly let the image come into focus; the 3D shape will appear. Try Cross-eyed mode if you prefer crossing your eyes.
Advertisement
Advertisement

How to use the Stereogram Generator

  1. Choose what to hide: type text, pick a shape or upload a depth map where white is closest to you.
  2. Pick a pattern: a colorful texture is easiest to view; random dots give the classic look; or upload your own tile image.
  3. Adjust depth and pattern width. Smaller pattern widths are easier for beginners; more depth makes the object pop out further.
  4. View it: relax your eyes and look through the screen as if at something far behind it, until the two guide dots become three.
  5. Download the PNG to share or print. Use a larger size for posters.

How a stereogram hides a 3D shape

Your eyes are about 6 to 7 cm apart, so each sees a scene from a slightly different angle, and your brain turns that difference (disparity) into depth. A stereogram exploits this. The picture is made of a pattern that repeats roughly every P pixels. When you look "through" the image, your left eye lands on one repeat and your right eye on the next, and the brain fuses them. Wherever the repeat distance is slightly shorter, the fused point appears closer to you; where it is longer, it appears further away. The hidden object is nothing more than a map of tiny changes in repeat distance.

This generator computes, for every pixel, the separation s = round((1 − μz) · E / (2 − μz)), where z is the depth from 0 (background) to 1 (nearest), μ is the Depth setting and E is twice the pattern width. The background (z = 0) repeats exactly every P pixels and the nearest point repeats every 2P(1 − μ)/(2 − μ) pixels. Pixels that must look the same are linked into chains, points that one eye could not see past a nearer surface are skipped (hidden-surface removal), and the pattern is copied along each chain from right to left.

Settings guide

SettingWhat it changesGood starting point
DepthHow far the object floats in front of the background (μ)25 to 35 %; above 45 % can be hard to fuse
Pattern widthRepeat distance of the background; your eyes must diverge by this muchAbout 1/8 of the image width, roughly 2.5 to 3 cm on screen
Edge smoothingBlurs the depth map to soften jagged outlines1 to 3 px for text and shapes, 0 for detailed depth maps
PatternWhat the repeating texture looks likeColorful texture for beginners, random dots for the classic look
ViewingWall-eyed (look past) or cross-eyed (look in front)Wall-eyed, the standard for posters and books

Tips for great hidden pictures

  • Keep it bold. Short words in heavy letters, simple silhouettes and smooth gradients are far easier to see than thin lines or small detail.
  • Size for the screen or print. For a printed poster, choose 2400 × 1500 and keep the pattern repeat about 2.5 cm wide on paper so it matches the gap between your eyes when viewed from a normal distance.
  • Make your own depth map in any paint program: paint the background black, near parts white and use soft gradients for rounded surfaces. 3D apps can also export a Z-depth pass, which works perfectly here.
  • Fusing trouble? Turn on guide dots, lower the Depth and pattern width, and try the colorful texture pattern, which gives your eyes more to lock on to.
  • Check your work with Reveal depth map before downloading, so you know exactly what the viewer should find.

Frequently asked questions

What is a stereogram?

An autostereogram is a single flat image that hides a 3D shape. A pattern is repeated horizontally, and tiny changes in how far apart the repeats are encode depth. When your two eyes look at neighbouring repeats instead of the same point, your brain fuses them and sees the hidden object floating in front of or behind the background. Magic Eye is the best-known brand of this kind of picture.

How do I see the hidden 3D image?

Bring the screen close to your face so it looks blurry, relax your eyes as if looking through the screen at something far away, then slowly move back. Keep your gaze relaxed and the shape will appear. The guide dots help: when you see three dots instead of two, your eyes are at the right angle. It can take a minute the first time and becomes easy with practice.

What is the difference between wall-eyed and cross-eyed viewing?

Wall-eyed (parallel) viewing means looking past the image; it is the standard for stereogram posters. Cross-eyed viewing means focusing in front of the image by slightly crossing your eyes. The same picture shows the opposite depth in each mode, so this tool inverts the depth map when you pick cross-eyed, making the object pop out correctly for that method.

How does the stereogram algorithm work?

For every row, each point of the depth map tells how far apart its left-eye and right-eye image must be: separation = round((1 - μz) × E / (2 - μz)), where z is depth from 0 (far) to 1 (near), μ is the depth factor and E is twice the pattern width. Pixels that must match are linked, hidden-surface checks skip points one eye cannot see, and the pattern is then copied along each chain of links. This method was published by Thimbleby, Inglis and Witten in 1994.

What makes a good depth map?

A grayscale image where white is closest, black is the background and smooth gradients describe curved surfaces. Bold, simple shapes and thick letters work best. Very fine detail and thin lines are hard to see because each pattern repeat is only around 100 pixels wide. A little edge smoothing reduces jagged outlines.

Which pattern should I choose?

Colorful texture patterns are the easiest to fuse because they contain recognisable detail. Random dots give the classic SIRDS look and hide the shape perfectly but take more effort to view. A custom tile works best if it is busy and evenly detailed, such as foliage, pebbles or confetti, without large flat areas.

Are stereograms safe to look at?

For most people viewing stereograms is just a relaxing focus exercise. If you feel eye strain or a headache, take a break. Some people with reduced vision in one eye or limited depth perception cannot see the effect, which is normal.

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

Optical IllusionsInteractive optical illusions with a reveal switch that shows the trick and explains it.3D Text GeneratorRender extruded 3D text with depth, bevel, materials and rotation; export a transparent PNG.Seamless Pattern GeneratorMake seamless dot, stripe, wave, grid, zigzag and check patterns. Export CSS, SVG or PNG.Normal Map GeneratorTurn a texture photo into normal, height, roughness and AO maps with a live 3D preview.Meme GeneratorMake memes with classic templates and custom text.Logo MakerDesign a text logo with fonts, icons and colors, then save SVG or PNG.Certificate MakerDesign certificates from templates and export one or many as PDF.GIF MakerTurn videos and images into GIFs, trim and compress.Business Card MakerDesign business cards and download a print-ready PDF.Flyer MakerDesign printable and social media flyers from free templates.Poster MakerDesign posters in A0–A5 and US sizes and download a print-ready PDF.Invitation Card MakerCreate printable birthday, wedding and party invitations for free.Thumbnail Safe ZonePreview YouTube and TikTok thumbnail safe zones.Thumbnail MakerDesign 1280×720 YouTube thumbnails with templates, bold text and stickersWallpaper GeneratorCreate gradient and pattern wallpapers sized for any phone, tablet or desktopYouTube Thumbnail GrabberPaste a YouTube link to get every thumbnail size, from HD 1280x720 down to 120x90.CSS Gradient GeneratorDesign linear, radial and conic CSS gradients with draggable stops and export CSS or PNG.Chart MakerMake bar, line, area, pie and doughnut charts from a simple table and download PNG or SVG.Venn Diagram MakerMake 2- or 3-circle Venn diagrams from lists; overlaps are found for you. Export PNG or SVG.Mind Map MakerBuild mind maps fast with keyboard shortcuts and auto layout, then export PNG, SVG or JSON.Org Chart MakerType an indented list of names and titles and get a clean org chart to download as PNG or SVG.Timeline MakerCreate horizontal or vertical timelines from dated events with colors, then save PNG or SVG.Gantt Chart MakerPlan tasks with dates, progress and dependencies on a Gantt chart, then export PNG or CSV.Word Cloud GeneratorTurn any text into a word cloud in shapes like a heart or star, then save it as PNG or SVG.Pie Chart MakerMake pie and donut charts with labels, percentages and a legend, then download PNG or SVG.Favicon GeneratorMake a favicon.ico, PNG icons, apple-touch-icon and web manifest from an image, text or emoji.Passport Photo MakerMake passport and visa photos for any country and print them on a 4x6 sheet.Signature MakerDraw or type your signature and download it as a transparent PNG or SVG.Quote Image MakerTurn a quote into a shareable image for Instagram, Stories or X with backgrounds and fonts.Profile Picture MakerMake a round or square profile picture with a ring border and color or gradient background.Before and After Image MakerCombine two photos into a labeled before and after image or an animated slider video.Device Mockup GeneratorPut a screenshot into a phone, tablet, laptop, monitor or browser frame and download a PNG.Album Cover MakerDesign 3000×3000 album and podcast cover art with photo filters and type presets.Animated Text GIF MakerCreate animated text GIFs with typing, blink, bounce, rainbow or scroll effects; GIF or WebM.App Icon GeneratorMake every iOS, Android adaptive, PWA and macOS app icon size from one image, as a ZIP.Birthday Card MakerMake a printable folded birthday card from templates with photos, stickers and fonts; PDF or PNG.Book Cover MakerDesign ebook and print book covers with trim sizes, spine width from page count, PNG/PDF.Brochure MakerMake tri-fold or bi-fold brochures from templates with panel guides and a two-sided print PDF.Recolor PNG IconChange the color of PNG icons and logos to any color or gradient, keeping transparency.Comic Strip MakerMake comic strips with panel layouts, speech bubbles, captions and drawings; export PNG.Family Tree MakerBuild a family tree with people, dates and photos; auto-layout, save JSON, export PNG/PDF.Flowchart MakerDrag-and-drop flowcharts with standard shapes, connectors and snap grid; PNG/SVG/JSON.Gift Tag MakerDesign printable gift tags with holiday themes and to/from names, many per page with cut lines.Initials Avatar GeneratorCreate letter avatars from names: shapes, colors, fonts, bulk ZIP, PNG/SVG and data URIs.Instagram Story MakerDesign 1080×1920 Instagram stories with templates, photos, text, stickers and safe-zone guides.Label MakerDesign jar, address, shipping and product labels and print them on Avery-style sheets or PDF.Low Poly GeneratorTurn a photo or a random gradient into low-poly triangle art. Download PNG, JPG or SVG.Seamless Texture MakerMake any image tileable with offset blending, edge cross-fade or mirroring, with a tiled preview.Mesh Gradient GeneratorDrag color points to make smooth mesh and aurora gradients with grain, then export PNG or CSS.Motivational Poster MakerMake a classic black-border motivational or funny demotivational poster from your photo.Name Tag MakerMake printable name badges in bulk from a list of names, titles and companies as a PDF.Neon Text GeneratorMake glowing neon sign text on brick or dark walls, with flicker, and save it as PNG or GIF.Open Graph Image GeneratorDesign 1200x630 social share images with templates and live link previews, then export PNG.Paint by Numbers GeneratorTurn a photo into a numbered paint-by-numbers outline with a color palette and printable PDF.Pinterest Pin MakerDesign 1000×1500 Pinterest pins with templates, headline overlays, brand colors and a URL footer.Cover Photo MakerMake Facebook, LinkedIn, X and Twitch cover images at exact sizes with profile-photo guides.Sticker MakerTurn a photo into a die-cut sticker: remove the background, add a white outline and shadow.Twibbon MakerPut your photo behind a campaign frame PNG, drag and zoom to fit, download a square picture.Wanted Poster MakerMake an old-west wanted poster with your photo, name and reward on aged paper. PNG or PDF.YouTube Banner MakerDesign 2560×1440 YouTube channel art with safe-area guides, text, shapes and templates.Banner MakerDesign web ad banners, headers and printable vinyl banners with templates; PNG, JPG or PDF.Barcode ScannerScan UPC, EAN, Code 128, QR and Data Matrix codes with your camera or a photo. Export CSV.Bulk QR Code GeneratorTurn a list or CSV of links into hundreds of QR codes: ZIP of PNG/SVG or a printable PDF sheet.Christmas Card MakerMake printable folded or 5×7 photo Christmas cards with festive templates, fonts and messages.Emoji MakerDesign your own custom emoji from faces, eyes, mouths and accessories, then save a transparent PNG.Floor Plan MakerDraw rooms, doors, windows and furniture to scale with live dimensions, then export PNG, SVG or PDF.Gift Certificate MakerDesign printable gift certificates and vouchers with amount, codes, expiry and your logo.Infographic MakerBuild a vertical infographic from templates with stats, charts, icons and steps; export PNG or PDF.
See all 142 Design & Graphics Makers →