Turn HTML into a 1200 x 630 social card PNG
Renders a block of HTML and CSS into a 1200 by 630 PNG, the size social networks use for link previews, and returns the image link, name, type and size. Paste your own HTML, or pick JPEG or WEBP and another size.
Input
Output fields
Sign up on Apify or log in
The HTML to Image Converter: Convert HTML to PNG, JPG and WEBP Actor is ready to run with the inputs already set for "Turn HTML into a 1200 x 630 social card PNG". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Turn HTML into a 1200 x 630 social card PNG" task
The HTML to Image Converter: Convert HTML to PNG, JPG and WEBP Actor will start running based on the input automatically. You can also change all the input fields, like HTML, width, and more, to match your specific use case.
Receive the "Turn HTML into a 1200 x 630 social card PNG" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as #, file, file name, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Turn HTML into a 1200 x 630 social card PNG" task via API.

Integrate "Turn HTML into a 1200 x 630 social card PNG" into your workflow
Connect "Turn HTML into a 1200 x 630 social card PNG" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay