Swelıty
Tools for everyone

Free Online Image Placeholder

Make a placeholder image of any size, colour and text, as PNG, JPG or SVG, with code to paste.

Size
px
px

Leave it empty to show the size. A new line starts a new row (up to 6).

Only fonts already on the device are used, so the look can differ a little between computers.

Lines
px

Up to half of the shorter side.

Preview, 640 × 480 px

Placeholder picture, 640 by 480 pixels
Save as
Code to use it
522 Bytes. The picture is inside the code, so it needs no file.

How to use

  1. Click a size, or type a width and height. Use More sizes for banners, avatars and social formats.

  2. Choose the background and text colours. The preview updates as you type.

  3. Leave the text empty to show the size, or type your own. A new line starts a new row.

  4. Pick a font, and turn on a cross or a grid, or rounded corners, if you want them.

  5. Choose PNG, JPG or SVG and press Download, or copy the img tag, CSS, SVG code or data URL under the preview.

Why use this tool

  • Any size from 1 to 10,000 px

    Presets for the common sizes, plus more than a dozen others for ads, banners, avatars, social posts and screens. PNG and JPG are limited to 50 megapixels; SVG has no such limit.

  • Text that fits

    The text is sized to fit the picture by default, up to six rows. Turn that off to set the size yourself.

  • Cross, grid, rounded corners

    Draw lines from corner to corner, a grid, or round the corners by any number of pixels.

  • PNG, JPG or SVG

    SVG is tiny and sharp at any size. PNG keeps see-through corners. JPG is a small plain file, with a white background behind rounded corners.

  • Code you can paste

    Copy an img tag, a CSS rule or the SVG source. They hold the picture inside the code, so they work offline and need no file.

  • Safe with any text

    Characters such as & and < in your text are escaped, so they cannot break the picture. Emoji and non-Latin text work if your device has a font for them.

  • Private and offline

    The picture is made in your browser. No outside placeholder service is used.

About this tool

Image Placeholder makes a placeholder picture of any size, with your colours and text, for mock-ups, wireframes, layouts and tests. Choose a preset such as 800 by 600 or the 1200 by 630 social card, or type your own width and height. Set the background and text colours, the text (it shows the size by default), a system font, and add a cross, a grid or rounded corners. Save it as PNG, JPG or SVG, or copy a ready-made img tag, CSS or the SVG code. The picture is drawn in your browser, so there is no placeholder web address to depend on.

Frequently asked questions

No. The picture is drawn in your browser. The img tag you copy holds the picture in its own code, so it does not call any server.

Only fonts that are already on the device, such as Arial, Georgia, Verdana or the system font. A picture made as SVG cannot load a font file. Each choice ends with a generic family, so there is always a fallback, but the look can differ a little from one computer to another.

Paste it into your HTML. The picture is a data URL inside the src, so it works without a file. For many placeholders, saving one SVG and linking to it keeps the page smaller.

JPG has no transparency, so rounded corners get a white background. Choose PNG or SVG to keep the corners see-through.

Browsers run out of memory when a canvas gets too large, so PNG and JPG stop at 50 megapixels. SVG has no pixel limit because it is only text, and it can be drawn at any size.

Yes, the picture is yours, but a placeholder is meant to be replaced before the page goes live. Check that none are left over.