Overview
Exports a Figma node as an image in one of the supported formats: PNG, JPG, SVG, or PDF. The exported image is returned as base64-encoded data that can be displayed or saved.Usage
Parameters
The ID of the node to export
Export format. Supported values:
PNG- Portable Network Graphics (default)JPG- JPEG formatSVG- Scalable Vector GraphicsPDF- Portable Document Format
Export scale multiplier. Use higher values (e.g., 2 or 3) for higher resolution exports.Common scale values:
1- Standard resolution2- Retina/2x resolution3- 3x resolution for high-DPI displays
Response
The tool returns an image content block with:imageData- Base64-encoded image datamimeType- MIME type corresponding to the format (e.g.,image/png,image/jpeg,image/svg+xml,application/pdf)
Format-Specific Notes
PNG
- Supports transparency
- Lossless compression
- Best for UI elements, icons, and designs with sharp edges
JPG
- No transparency support
- Lossy compression
- Best for photographs and complex images with gradients
SVG
- Vector format (resolution-independent)
- Scale parameter is ignored
- Best for scalable graphics and icons
- Preserves editability
- Vector format when possible
- Preserves layers and structure
- Best for print-ready exports
Example Workflows
Export for Web (2x Retina)
Export Vector Asset
Export Multiple Sizes
Related Tools
- get_node_info - Get node details before export
- get_selection - Export currently selected nodes