Skip to content
HTML to Image & Video
Sizes and use cases

HTML to Social Media Image

Build post graphics in HTML and CSS and export square or portrait images for social feeds.

px
Live preview

Checkerboard areas are transparent and stay transparent in the exported file.

What you get

A studio for HTML images

Images in three formats

Export PNG for sharp edges and transparency, JPEG for small files, or WebP for the best size to quality ratio. Scale up to 3x for retina screens and print.

Private by design

Rendering happens on your device. Your code and files are never uploaded.

Step by step

How to make a social media image from HTML

  1. Replace the quote and author in the template, or paste your own layout.
  2. Pick the size you need in the stage fields, such as 1080 by 1080.
  3. Raise the scale to 2x if the platform recompresses heavily.
  4. Click Export PNG and upload the file to your post.

Sizes for common posts

Use 1080 by 1080 for square feed posts, 1080 by 1350 for portrait posts, and 1920 by 1080 for landscape graphics. Check each platform guidelines, since recommended sizes change over time.

Reuse one template for every post

Keep your layout in the editor and swap the text each time. Because the template is code, fonts, colors and spacing stay consistent across a whole campaign.

Keep exploring

Learn more

Guides and tutorials

Answers

Frequently asked questions

What size should an Instagram post be?

1080 by 1080 pixels for a square post, or 1080 by 1350 for a portrait post.

Can I use my own fonts?

Yes, if you embed them as Base64 @font-face rules in the CSS box. Fonts loaded from other websites may be blocked by cross-origin rules.

Is my code uploaded to a server?

No. The conversion runs entirely in your browser using the Canvas, Web Animations and MediaRecorder APIs. Your HTML, CSS and images never leave your device.

Why are some external images blank in my export?

Browsers block canvas export when an image comes from another website that does not allow cross-origin access (a tainted canvas). Embed the image as a Base64 data URL, or host it on a server that sends CORS headers, and it will render.

Ready to convert your HTML?

Free, private and runs in your browser.

Start converting