unlayer-export
Export Content
Overview
Unlayer supports multiple export formats. Some are client-side (free), others use the Cloud API (paid).
Which Export Method?
| Method | Output | Paid? | Use When |
|---|---|---|---|
exportHtml |
HTML + design JSON | No | Email sending, web publishing, saving designs |
exportPlainText |
Plain text + design | No | SMS, accessibility fallback |
exportImage |
PNG URL + design | Yes | Thumbnails, previews, social sharing |
exportPdf |
PDF URL + design | Yes | Print-ready documents |
exportZip |
ZIP URL + design | Yes | Offline download packages |
Critical: Always save the design JSON alongside any export. All export methods return
data.design— save it so users can edit later.
More from unlayer/unlayer-skills
unlayer-custom-tools
Builds custom drag-and-drop tools for the Unlayer editor — registering tools, adding property editors, creating custom widgets, head CSS/JS injection, tool configuration, and the custom# prefix convention.
73unlayer
Routes to specific Unlayer sub-skills for framework integration, custom tools, content export, or editor configuration.
70unlayer-integration
Integrates the Unlayer editor into web applications — React, Vue, Angular, or plain JavaScript setup, component props, editor access patterns, multiple instances.
67unlayer-config
Configures the Unlayer editor — feature flags, appearance, theming, merge tags, design tags, display conditions, special links, HMAC security, file storage, image uploads, localization, custom fonts, validation.
66