Developer Utilities · Free tool
Instagram Embed Generator
Generate Instagram post and reel embeds via the official blockquote pattern. Customize width and caption.
Updated May 2026
<blockquote class="instagram-media" data-instgrm-captioned data-instgrm-permalink="https://www.instagram.com/p/POST_ID/" data-instgrm-version="14" style="background:#FFF;border:0;border-radius:3px;box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15);margin:1px;max-width:540px;min-width:326px;padding:0;width:99.375%;width:-webkit-calc(100% - 2px);width:calc(100% - 2px)">
<a href="https://www.instagram.com/p/POST_ID/" style="background:#FFFFFF;line-height:0;padding:0 0;text-align:center;text-decoration:none;width:100%" target="_blank" rel="noreferrer">
View this post on Instagram
</a>
</blockquote>
<script async src="https://www.instagram.com/embed.js"></script>Uses Instagram’s official blockquote+script embed. The embed.js script renders the post once it’s loaded. Posts must be from public accounts; private posts won’t embed.
Found this useful?Email
Advertisement
What it does
Generate Instagram post / reel embed code via the official blockquote+script pattern. Customize max width and caption visibility.
Embed this tool on your siteShow snippetHide
Paste this snippet into any page. Loads on-demand (lazy), no tracking scripts, and sized to most dashboards. Replace the height to fit your layout.
<iframe src="https://freetoolarena.com/embed/instagram-embed-generator" width="100%" height="720" frameborder="0" loading="lazy" title="Instagram Embed Generator" style="border:1px solid #e2e8f0;border-radius:12px;max-width:720px;"></iframe>How to use it
- Paste the Instagram post or reel URL.
- Set max width.
- Copy the embed code.
Frequently asked questions
- Why doesn't my private post embed?
- Instagram only allows embedding from public accounts. If your post or account is private, the embed won't render — change account to public, or move to a different post.
Advertisement
Learn more
Guides about this topic
- Using Our Tools · GuideHow to generate QR codesMake a QR code for a URL, wifi, vCard, or plain text. What error-correction means, how big to print, how to test it.
- Using Our Tools · GuideHow to create a strong passwordThe entropy math, 2026 NIST rules, passphrases vs passwords, password managers, MFA and hardware keys, where passkeys fit, 5 mistakes that still lose accounts
- Developers & Technical · GuideHow to encode and decode Base64What Base64 is (not encryption), the 3-to-4 encoding mechanics, standard vs URL-safe vs MIME variants, 33% overhead, when to use it, common mistakes
- Design & Media · GuideHow to choose a color paletteHSL color theory, four palette schemes (monochromatic, analogous, complementary, triadic), the 60-30-10 rule, WCAG contrast, dark mode, and palette tools.
- Developers & Technical · GuideHow to use JWT tokens securelyJWT anatomy, HS256 vs RS256, the 'alg: none' attack, expiration strategy, storage (localStorage vs httpOnly cookies), revocation patterns, and claim validation.
- Design & Media · GuideHow to design a faviconThe sizes you actually need in 2026, design principles that survive 16×16 rendering, dark mode support, the HTML tags, web manifest, and testing.
Explore more developer utilities tools
- .htaccess GeneratorGenerate Apache .htaccess with HTTPS redirect, Gzip, caching, error pages, hotlink protection, 301 redirects.
- Color Palette ExtractorExtract dominant colors from any image. Histogram-based, runs in browser. Click swatches to copy hex.
- XML Sitemap GeneratorGenerate sitemap.xml from a URL list. Sets lastmod to today, applies priority and changefreq. Download or copy.
- JavaScript MinifierStrips comments and collapses whitespace from JS. For production minification, use terser or esbuild.
- HTML Table GeneratorInteractive HTML table builder. Click cells to edit. Toggle headers, stripes, borders. Inline-styled output for emails.
- CSS Button GeneratorVisual CSS button generator. Hover, active, and focus-visible states baked in. Tunable colors and sizing.