SVG Placeholder Image Generator
Make crisp placeholder images for mock-ups, layouts and tests in seconds, without uploading anything or depending on an external placeholder service.
브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기
…
사용 방법
- 1Enter sizes
Width x height, comma separated.
- 2Pick colours
Background and text.
- 3Add a label
Or keep the size.
- 4Style it
Font, corner radius, diagonal lines.
- 5Preview
Check each size and ratio.
- 6Download or embed
SVG, PNG, data URI or img tag.
이 도구 소개
Placeholder images fill the gaps while a design is being built: the hero banner nobody has photographed yet, the product grid before the catalogue arrives, the social share card in a template. Many developers use online placeholder services, but those add an external request to every page load, can disappear or change, and leak your page addresses to a third party. A tiny SVG file does the same job better. This generator makes placeholder images at any size up to 10,000 pixels, with your choice of background and text colour, label, font, corner radius and optional diagonal lines, and works out the aspect ratio for you. Enter several sizes at once, such as all the social media image sizes for a campaign, and you get a preview and a download for each. For the first size you also get a data URI you can paste straight into HTML or CSS, a ready img tag with width and height set, and a CSS background rule. Because SVG is vector, the result stays sharp on any screen.
Why SVG placeholders
- A few hundred bytes, compared with kilobytes for PNG or JPEG. - Sharp on high-resolution screens at any zoom level. - No network request when embedded as a data URI. - Easy to edit in any text editor or design tool.
Common sizes
- Open Graph and link previews: 1200 by 630. - Square posts: 1080 by 1080. - Stories and vertical video covers: 1080 by 1920. - X (Twitter) header: 1500 by 500. - Video thumbnails and hero banners: 1280 by 720 or 1920 by 1080 (16:9).
Width and height prevent layout shift
Always give images width and height attributes, or an aspect-ratio in CSS. Browsers reserve the space before the image loads, which avoids content jumping around and improves the Cumulative Layout Shift score in Core Web Vitals. The generated img tag includes both.
Accessibility
Placeholders are decorative, so the img tag uses an empty alt attribute, which tells screen readers to skip it. Replace it with a meaningful description when the real image arrives.
Labels
By default the label shows the size, which helps designers check that each slot gets the right image. Type your own text, and use a backslash followed by n to start a new line.
Placeholders in tests
Fixed-size placeholders make visual regression tests stable, because the image never changes between runs, and they let you check responsive layouts at every breakpoint before real photography exists.
Limits
Text uses the viewer's system font, so the exact look varies slightly between devices. Some platforms, including several social networks and email clients, do not accept SVG; download the PNG from the preview for those, or convert with an image tool.
풀이 예시
Entering 1200x630, 1080x1080, 1080x1920 and 1500x500 with a dark slate background produces four labelled placeholders with ratios 40:21, 1:1, 9:16 and 3:1, each a few hundred bytes, ready to download or embed.
한눈에 보기
- 카테고리: 개발 및 데이터
- 브라우저에서 실행되며 가입도 업로드도 필요 없습니다.
- 입력한 정보는 기기에 머뭅니다.
- 영어로 제공됩니다.
- 콘텐츠 최종 검토일:
- 공식 출처: W3C Scalable Vector Graphics (SVG) 1.1
자주 묻는 질문
Why not use a placeholder website?
External images add requests, can break and expose your page URLs. A local SVG avoids all three.
Can I get PNG instead?
Yes, download PNG from each preview.
What is a data URI?
The whole image encoded in the URL itself, so no separate file is loaded.
Does the label scale?
Yes. The font size is chosen to fit the image.
How many sizes at once?
Up to 20.
Is anything uploaded?
No. Images are created in your browser.
