占位图生成器
以任意尺寸、颜色和标签创建自定义占位图。可下载为 SVG、PNG 或 JPEG — 全部在浏览器内完成。
800 × 600 (SVG)
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="600" viewBox="0 0 800 600"> <rect width="100%" height="100%" fill="#e2e8f0"/> <text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle" fill="#475569" font-family="system-ui, -apple-system, sans-serif" font-size="48" font-weight="600">800 × 600</text> </svg>
使用方法
以任意尺寸、颜色和标签创建自定义占位图。可下载为 SVG、PNG 或 JPEG — 全部在浏览器内完成。
- 1Pick a preset size (square, banner, hero, OG, etc.) or type custom width and height in pixels.
- 2Choose background and text colors — defaults to a neutral gray that works as a stand-in for any UI.
- 3Type custom label text or leave it blank to auto-show the dimensions (e.g., 800 × 600).
- 4Pick the output format — SVG for inlining, PNG for transparency, JPEG for smaller file size.
- 5Click 'Download' to save the file, or 'Copy SVG' to grab the markup for inline use in HTML or CSS.
主要功能
- Six common-size presets including OG (1200×630), hero (1600×900), avatar (256×256)
- Three export formats — vector SVG, lossless PNG, compressed JPEG (92% quality)
- Custom text and font size — leave blank to auto-display dimensions
- Color picker plus hex input for both background and foreground — match any brand palette
- Generated entirely in your browser — no requests to placeholder.com or other third-party services