Build an SVG Placeholder Image
Set the size, colors, text and corner radius. Copy the SVG code or download the placeholder image.
Use this tool in your browser without installing software.
About this tool
When a design or page has no real image yet, a simple placeholder is enough. This page builds an SVG from text: size and ratio, solid or gradient background, text colour, font size and rounded corners. Because the output is text it is tiny and can be used directly in HTML or CSS; no upload or external service is needed. Sizes stay between 16 and 4,000 pixels and the text is made XML-safe.
How to use it
- 1
Enter the width and height and choose the background and text colours.
- 2
Change the text, font size or corner radius if you need to; the preview updates immediately.
- 3
Copy the SVG code or download placeholder.svg.
If the answer looks wrong
- The text spills outside the box.
Lower the font size or use shorter text. The size is capped by the box, but a long line does not wrap.
- The preview is blank.
Check the background and text colours; they may both be light or both be dark.
- The download does not start.
The browser may block automatic downloads. Copy the SVG code or save it from the browser menu.
Frequently asked questions
Why SVG instead of PNG?
SVG is text, so it is small, stays sharp at any size, and its colours and text can be changed later by editing a few lines. For a placeholder it is the lighter choice.
Where can I use the output?
Put the file next to the site images and use it in an img src, or paste the SVG code directly into HTML. It also works as a data URL in CSS.
Does it support non-Latin text?
Yes. The text is drawn with the system font and made XML-safe. If the text is long, lower the font size so it stays inside the box.
Is anything uploaded?
No. The SVG is built entirely in your browser and no request is sent to a server.