Article poster layout
Actually renders a WeChat header or poster: pick the title font size automatically for the 2.35:1 ratio, wrap the lines, preview the whole poster live and export it as PNG or SVG, with adjustable background, gradient, text color, alignment, corner radius and watermark.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Layout plan
The preview is the final poster and exports to PNG / SVG; the report still lists font size, line breaks and text rectangles.
Enter a title to lay out the poster
Canvas width: 0 · Canvas height: 0 · Title font size: 0 · Title lines: 0 · Canvas ratio: 0
What this tool does
- Produce the image first: enter the title and the page renders the whole poster immediately, with font size, line breaks, background and bottom bar already laid out.
- Long titles shrink automatically instead of you guessing font sizes — the tool picks the largest size that fits the line limit.
- The preview is the final artwork: export PNG (rasterized in the browser) or SVG (vector, editable in a design tool). Everything is generated locally and never uploaded.
- Multi-size testing: change the canvas to 1200×500 or 1080×460 and compare how the same title lays out.
Example
Input
A newsletter headline
Output
Canvas: 900 × 383 px (ratio 2.35:1, WeChat header recommends 2.35:1) Safe area: 31 px side padding, 46 px bottom bar Title font size: 72 px (max 72, min 24, largest size that stays within 3 lines) Title wrapped into 1 line(s), line height 94 px: 1. A newsletter headline Title box: x=31 y=31 w=838 h=94 Overflow: no, the title fits completely Note: text width is estimated at 1 em per full-width and 0.5 em per half-width character, which is used to judge where lines break; the pixel compositing is done by Canvas on the page.
Text width is estimated at 1 em per full-width and 0.5 em per half-width character, and the font size steps down until the lines fit. The numbers above are the layout report; the page also draws them into an SVG poster you can export as PNG or SVG.
Frequently asked questions
Why 900 × 383 by default?
WeChat's recommended header ratio is 2.35:1, and 900 ÷ 383 ≈ 2.350 is a common header size that satisfies the platform ratio while staying easy to re-crop. Any size from 200 to 4000 px is allowed and the actual ratio is echoed in the result.
How is the font size chosen?
It starts at the maximum (72 px by default) and drops by 2 px until the wrapped line count is within the limit and the total title height fits the available space, taking the largest size that satisfies both. If even the minimum (24 px) overflows, the result says the title should be shortened.
What width does the wrapping use?
Full-width characters (CJK and full-width punctuation) count as 1 em and half-width characters (ASCII letters, digits and punctuation) as 0.5 em, the usual approximation for estimating characters per line. English words are kept intact where possible — the wrapper backs up to the nearest space and only breaks hard when there is none, such as a very long word or a URL.
Does it actually render an image?
Yes. The page turns the layout into an SVG poster — background, title, subtitle, bottom bar and watermark included — so the preview is what you get. "Export PNG" rasterizes that SVG in your browser at the canvas size (900 × 383 by default) and "Export SVG" saves the vector file; both are generated locally and never uploaded.
Can I change the background, gradient, alignment, radius and watermark?
Yes, and each change shows up in the preview and the export right away. The background accepts #rgb / #rrggbb / #rrggbbaa (8 digits add transparency); leaving the gradient end color empty keeps it solid, while any value paints a diagonal linear gradient; a radius of 0 gives square corners and at most half of the shorter edge is allowed; centered alignment uses the canvas midline so both side margins stay equal; the watermark is the small label in the bottom-right corner and is skipped when empty. The bottom 12% of the height (46 px by default) is reserved for the info bar — a translucent band with a short "Tap to read" line that text never overlaps.
Keywords:poster layout2.35:1