Cover image generator
Generate an SVG cover layout from text, size, and style without bitmap encoding.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Preview
Enter a title to generate the cover
What this tool does
- Draft a social or video cover: enter the title, subtitle and watermark, pick a ratio and download the SVG or copy the data URI for a CSS background.
- Check the title layout: the font size is the smaller of 12% of the canvas and what fits 88% of the width, so changing the title length or canvas size shows the effect immediately.
- Keep a set of covers consistent: four backgrounds (plain, gradient, grid, diagonal) plus the colours and corner radius can be fixed, and identical options give identical covers.
Example
Input
Title
Output
Cover: Title
Size 1280 × 720 (ratio 16:9, actual 1.7778) · style gradient · corner radius 0px
Title font size 153.6px (estimated width 422.4px, 88% of the canvas is 1126.4px)
Characters 5
SVG source:
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="720" viewBox="0 0 1280 720" role="img">
<defs>
<linearGradient id="bg" x1="0" y1="0" x2="1" y2="1"><stop offset="0%" stop-color="#4D6BFE" /><stop offset="100%" stop-color="#8B5CF6" /></linearGradient>
</defs>
<rect x="0" y="0" width="1280" height="720" rx="0" ry="0" fill="url(#bg)" />
<g font-family="system-ui, -apple-system, 'Noto Sans SC', sans-serif">
<text x="640" y="412.22" text-anchor="middle" font-size="153.6" font-weight="700" fill="#FFFFFF">Title</text>
</g>
</svg>
data URI (ready for <img src> or CSS background-image):
data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjgwIiBoZWlnaHQ9IjcyMCIgdmlld0JveD0iMCAwIDEyODAgNzIwIiByb2xlPSJpbWciPgogIDxkZWZzPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJiZyIgeDE9IjAiIHkxPSIwIiB4Mj0iMSIgeTI9IjEiPjxzdG9wIG9mZnNldD0iMCUiIHN0b3AtY29sb3I9IiM0RDZCRkUiIC8+PHN0b3Agb2Zmc2V0PSIxMDAlIiBzdG9wLWNvbG9yPSIjOEI1Q0Y2IiAvPjwvbGluZWFyR3JhZGllbnQ+CiAgPC9kZWZzPgogIDxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMjgwIiBoZWlnaHQ9IjcyMCIgcng9IjAiIHJ5PSIwIiBmaWxsPSJ1cmwoI2JnKSIgLz4KICA8ZyBmb250LWZhbWlseT0ic3lzdGVtLXVpLCAtYXBwbGUtc3lzdGVtLCAnTm90byBTYW5zIFNDJywgc2Fucy1zZXJpZiI+CiAgICA8dGV4dCB4PSI2NDAiIHk9IjQxMi4yMiIgdGV4dC1hbmNob3I9Im1pZGRsZSIgZm9udC1zaXplPSIxNTMuNiIgZm9udC13ZWlnaHQ9IjcwMCIgZmlsbD0iI0ZGRkZGRiI+VGl0bGU8L3RleHQ+CiAgPC9nPgo8L3N2Zz4=The real English output for the title Title with the default options (16:9, gradient, 1280 × 720, white text).
Frequently asked questions
Does it output a bitmap?
No — only the SVG source and a base64 data URI. SVG is vector, so it stays sharp at any size; for PNG or JPG, open the SVG in a browser and export it with an image tool.
Which ratios are supported?
Six presets: 16:9, 4:3, 3:2, 1:1, 2.35:1 and 9:16. With custom you set both sides yourself (120–4000 px each); when only one side is given the other is derived from the ratio.
How is the font size decided?
CJK and full-width characters count as one full-width unit and Latin or half-width characters as 0.55; the size is the smaller of 12% of the canvas width and the size that makes the title occupy 88% of the width, rounded to two decimals. Long titles therefore shrink while short ones do not fill the whole canvas.
Does it go online or upload anything?
No. Layout, SVG assembly and base64 encoding all happen locally and the title, subtitle and watermark never leave your browser. Subtitle is capped at 80 characters, watermark at 40 and the title at 120.
Keywords:coverSVGlayoutimage