CatSVG

Cat placeholder images — any size, any seed, pure SVG.

Turnip the Unbothered — a cat placeholder imageA geometric spots cat in the peach palette, sitting in a arch scene with googly eyes, wide ears and a puff tail. Generated from the seed “mackerel”.

A cat from the seed “mackerel”. Same seed, same cat, forever.

CatSVG is a placeholder image service that draws cats. Ask for any size and any seed word and you get a cat: generated as SVG on the fly, a few kilobytes on the wire, sharp at any resolution, and identical every time that URL is requested.

Use it anywhere

URL API

URLWhat you get
/cat/mackerel.svgSeeded cat, 400×400.
/cat/240/mackerel.svgSquare at 240px.
/cat/1200x300/mackerel.svgAny width×height up to 2000.
/cat/320x320/random.svgA different cat every request (never cached).
/cat/400?seed=biscuitQuery form — same thing.
/cat/postcard/mackerel.svgThe same cat as a postcard, 600×400.
/cat/postcard/back/900x600/mackerel.svgThe written side: message, stamp, postmark.

Query parameters

ParamEffect
seedAny string. Same seed always returns the same cat.
w, hSize override, 16–2000px.
presetanything · minimal · maximal · noir · pastel · feral
modecat (default) or postcard.
sidefront or back — the two sides of a postcard.
textCaption pill on a cat; the greeting or message on a postcard.
to, fromAddressee and signature on a postcard back.
captionSmall line under the greeting on a postcard front.
postmarkWords in the postmark ring.
stampHow many stamps frank the back, 0–5. Default 1.
brandbrand=off drops every CatSVG mark.
<trait>Pin one trait: eyes=star, palette=neon, body=loaf, …

Examples

Wide banner: a 1200×300 cat placeholder image, seed "mackerel"
Wide banner · /cat/1200x300/mackerel.svg
Postcard, picture side: a 600×400 cat postcard image, seed "clementine"
Postcard, picture side · /cat/postcard/600x400/clementine.svg
Postcard, written side: a 600×400 cat postcard image, seed "clementine"
Postcard, written side · /cat/postcard/back/600x400/clementine.svg
Card image, 16:9: a 800×450 cat placeholder image, seed "biscuit"
Card image, 16:9 · /cat/800x450/biscuit.svg
Portrait crop: a 600×800 cat placeholder image, seed "pebble"
Portrait crop · /cat/600x800/pebble.svg
Square thumbnail: a 400×400 cat placeholder image, seed "juniper"
Square thumbnail · /cat/400/juniper.svg
Avatar: a 160×160 cat placeholder image, seed "noodle"
Avatar · /cat/160/noodle.svg
Small avatar: a 96×96 cat placeholder image, seed "domino"
Small avatar · /cat/96/domino.svg

Questions

What is CatSVG?
A placeholder image service that draws cats. Every URL — say /cat/1200x300/mackerel.svg — is turned into one specific cat and rendered as SVG on the fly. No image files are stored and nothing is fetched from anywhere else.
How do I use a cat placeholder image?
Point an <img> at it: <img src="https://catsvg.app/cat/1200x300/mackerel.svg" />. The size segment is optional and so is the .svg suffix, so https://catsvg.app/cat/mackerel works too.
Will the same URL always give me the same cat?
Yes. A cat is a pure function of its URL, so seeded cats are served immutable and cached for a year. The one exception is the seed "random", which rolls a fresh cat on every request and is never cached.
Do I need an API key or an account?
No. The image endpoint is public, sends Access-Control-Allow-Origin: *, and needs no key, token or signup.
Can I use the cats commercially?
Yes. CatSVG is MIT licensed, and a generated cat is plain SVG with no third-party artwork in it — put it in a client mockup, a product screenshot or a shipped page, no attribution required.
Is this a PlaceKitten alternative?
Same job, different method. PlaceKitten serves photographs of cats; CatSVG draws each cat as vector artwork from the URL, so a placeholder is a few kilobytes, stays sharp on any display, and the same URL always returns the same cat.
What sizes and aspect ratios work?
Anything from 16 to 2000 pixels on each side. Wide and tall requests extend the scene around the cat instead of cropping it, so a 1200×300 banner still shows a whole cat.
Can I use the cats as avatars?
Yes. Pass a user id, username or email hash as the seed and every person gets their own stable cat, the way an identicon works — but a cat.
What is postcard mode?
Postcard mode mounts the same generated cat on a paper card. /cat/postcard/mackerel.svg is the picture side — the cat in a window with a greeting printed under it — and /cat/postcard/back/mackerel.svg is the written side, with a message, a stamp carrying a miniature of the same cat, a postmark and the address rules. Add ?text=… to write the greeting or the message yourself; leave it off and the cat writes its own.
Can I put my own words on a postcard?
Yes, every field on the card is a query parameter: ?text= is the greeting on the front and the message on the back, ?caption= is the small print under the greeting, ?to= and ?from= are the addressee and the signature, and ?postmark= sets the words in the postmark ring. Anything you leave out, the cat writes itself from the seed. ?stamp= sets how many stamps frank the back — none, one, or up to five in a row — and ?brand=off removes every CatSVG mark, which is what you want if you are printing the card for real.
Can I run CatSVG myself?
Yes. The whole thing is open source on GitHub: the generator is a dependency-free TypeScript module and the service is a single function you can host anywhere.