Castle Background Generator

Make a castle background: a castle on a green hill on a clear day, at golden hour, as a silhouette at dusk with lit windows, under the moon at night, in falling snow, by a lake with its reflection, in the mist, or on a cliff with a stone bridge over the gap. Pick a preset or set your own: the setting, the light, how many towers, cone roofs or crenellated tops, how tall the cones are, the size of the castle, the keep, the pennants, the bridge, lit windows, how many layers of hills, the haze, the mist, falling snow, the clouds, the stars and the moon. Every picture comes from a seed number: the same seed and size always give the same castle, and New seed gives you a new one. Choose desktop, 4K, phone, a 16:9 video-call background (for Zoom, Teams or Meet), tablet, square, banner or your own size up to 4096 pixels. It is artwork drawn by our code, not a photograph and not any real castle. Download a PNG or JPG, or a PDF to print. Nothing is uploaded.

100% private — everything runs in your browser. Everything runs in your browser; nothing is uploaded.

100% private — runs in your browser

The preview is the same picture drawn smaller. PNG and JPG download at the full size; the PDF fits the picture on one page.

Picture

Castle

Landscape and sky

Finish

Runs in your browser with our own code: nothing you type is uploaded or saved. Every tower, wall, roof, bridge, hill and lake is drawn by our own code from the seed; it is artwork, not a photograph and not any real castle. You may use what you make here, including commercially, with no credit needed.

How to make a castle background

  1. Pick a preset: hill, golden hour, dusk, night, snow, lake, mist, cliff with a bridge and more.
  2. Choose the setting and the light.
  3. Set how many towers, cone roofs or crenellated tops, the cone height and the castle size; tick the keep, pennants and bridge.
  4. Set lit windows, the layers of hills, the haze, the mist and falling snow.
  5. Choose the clouds, the stars and the moon; press New seed for a new castle.
  6. Choose a size and download the PNG or JPG, or the print PDF.

What you can use it for

  • Desktop and phone wallpapers
  • Video-call backgrounds
  • Birthday and party invitations
  • Story, book and game covers
  • Classroom displays and slides
  • Social posts and banners

The 16 presets

PresetSettingLightWhat is in itSize
Castle on a green hill, clear dayOn a hillClear day4 towers (mixed), keep1920 × 1080
Castle on a hill at golden hourOn a hillGolden hour5 towers (cone roofs), keep1920 × 1080
Castle silhouette at dusk, lit windowsOn a hillDusk4 towers (mixed), keep, lit windows1920 × 1080
Castle at night under the moonOn a hillNight5 towers (cone roofs), keep, lit windows, moon1920 × 1080
Castle in the snowOn a hillSnow4 towers (cone roofs), keep, 600 snowflakes1920 × 1080
Snowy castle at night, lit windowsOn a hillNight5 towers (cone roofs), keep, lit windows, 500 snowflakes, moon1920 × 1080
Castle by a lake with its reflectionBy a lake (with reflection)Clear day4 towers (mixed), keep, bridge of 3 arches1920 × 1080
Lake castle at duskBy a lake (with reflection)Dusk5 towers (cone roofs), keep, bridge of 3 arches, lit windows1920 × 1080
Misty lake castleBy a lake (with reflection)Mist4 towers (crenellated tops), keep, bridge of 3 arches1920 × 1080
Castle on a cliff with a stone bridgeOn a cliff with a bridgeClear day4 towers (mixed), keep, bridge of 3 arches1920 × 1080
Cliff castle at golden hourOn a cliff with a bridgeGolden hour5 towers (cone roofs), keep, bridge of 3 arches1920 × 1080
Tall cone-roof towers on a hillOn a hillClear day6 towers (cone roofs), keep1920 × 1080
Crenellated stone fort in the mistOn a hillMist4 towers (crenellated tops), keep1920 × 1080
Video call: calm castle on a hillOn a hillGolden hour4 towers (mixed), keep1920 × 1080
Phone wallpaper: castle at nightOn a hillNight3 towers (cone roofs), keep, lit windows, moon1170 × 2532
4K castle by a lake at golden hourBy a lake (with reflection)Golden hour5 towers (mixed), keep, bridge of 3 arches3840 × 2160

Worked out by the tool.

Sizes

SizePixelsWidth ÷ height
Phone1170 × 25320.462
Desktop1920 × 10801.778
4K3840 × 21601.778
Video call background1920 × 10801.778
Tablet2048 × 27320.750
Square2048 × 20481.000
Banner1500 × 5003.000

Every size is drawn at its own pixels, not stretched.

The castle parts

PartHow it is built
Curtain wallA rectangle 669.6 px wide and 133.9 px high (20 % of the castle width)
CrenellationMerlons 18.1 px wide and 16.6 px high repeating every 30.1 px (period = 4.5 % of the castle width; merlon = 0.6 × period); 22 on the wall
Towers4 evenly spaced across the wall, corner towers taller; each 73.7 px wide
Cone roofA triangle on a base 1.25 × the tower width; its height = the cone setting (1.6) × that base
Crenellated topA corbel band 1.14 × the tower width with the same merlon repeat as the wall
KeepA taller block behind the wall (28 % of the castle width) with a crenellated top and two cone turrets
Gate and windowsA half-circle on a rectangle; windows the same shape, lit with a warm glow when Lit windows is above 0
BridgeA deck with true half-circle arches underneath (radius 0.36 × the arch spacing); on the lake and cliff settings

Pixel sizes worked out by the tool for the first preset (desktop). Every part is a polygon worked out by our code; there are no image files.

How the far layers fade

LayerMixed towards the hazeColourBrightness (0–255)Ground line (from the top)
1 (farthest)85 %#b5c9cd197454 px
261 %#8fa59f160556 px
338 %#6c8374125689 px
4, the castle17 %#4a644d93799 px
5 (nearest)0 %#2f4a2c66994 px

Worked out by the tool for the first preset (5 layers, desktop): the farther the layer, the more haze and the lighter the colour. Each layer’s haze share is the haze setting × (1 − its place from the back ÷ (layers − 1))^1.15. The castle is mixed towards the haze like the layer it stands on.

The 6 lights

LightHaze colourNearest layerStoneRoofs
Clear day#cddfe9#2f4a2c#bdb4a2#3d4a6a
Golden hour#efd4a2#3b3a1e#d8b98a#6a3a2a
Dusk#c99aa0#1c1824#3a3040#2a2232
Night#2e3f66#060912#262c3c#1a1e2c
Snow#eef2f5#a9b5c2#8a8f9a#4a5468
Mist#d9dedf#3c4a44#9a9a94#4a4f58

Snow adds white caps to the roofs and merlons; the lake shows the castle mirrored, mixed towards the water colour farther from the shore.

What downloads

DownloadWhat is in it
PNGThe still picture at the full size you chose, every pixel exactly as drawn
JPGThe same picture as a smaller JPG (quality 92)
PDFOne Letter or A4 page with the picture fitted inside 10 mm margins
PaperA 4K picture prints atSharpness
Letter (landscape)259.4 × 145.9 mm376 px per inch
A4 (landscape)277.0 × 155.8 mm352 px per inch

To fit a picture of your own to a screen, use the Phone Wallpaper Maker; to change the size of a picture afterwards, the Image Resizer.

Which tool to use

You wantUse
A castle scene on a hill, lake or cliffCastle Background Generator (this page)
A castle to colour inCastle Coloring Pages
A shield with your own chargesCoat of Arms Maker
A dungeon floor planDungeon Map Generator
Floating islands, crystal caves or two moonsFantasy Background Generator

Other tools: the Coat of Arms Maker for a shield to go with your castle, and the Dungeon Map Generator for what lies beneath it.

More free tools

More castles and medieval art?

Picture and print tools that run privately in your browser, with no sign-up and no watermark.

See all free tools →

Frequently asked questions

Is this a photo or a real castle?

No. Every tower, wall, roof, bridge, hill and lake is drawn by our own code from the seed: it is artwork, not a photograph, and it is not any real castle or one from a film or game.

How is the castle built?

From parts: a curtain wall with crenellations, two to seven towers with cone roofs or crenellated tops, an optional keep with two cone turrets, an arched gate, arched windows, pennants and, by a lake or on a cliff, an arched bridge. The table below gives the sizes.

What are crenellations?

The notched top of a castle wall: solid blocks (merlons) with gaps between them. Here each merlon is 0.6 of the repeat wide, and the repeat is 4.5 % of the castle width.

Why are the far hills paler?

Each layer is mixed towards the haze colour of the light you chose, more the farther away it is. Painters call this aerial perspective. The table below gives the numbers for the first preset.

Can the windows glow?

Yes. Raise Lit windows: each window gets a warm light and a soft glow. The dusk and night presets start with them lit.

Can I use it as a video-call background?

Yes. Choose Video call background (16:9, 1920 × 1080), download the PNG or JPG and pick it as a virtual background in your video-call app. The calm castle on a hill preset keeps it quiet.

What does the seed do?

It fixes the tower heights, the hills, the clouds, the stars and the snow. The same seed and size give exactly the same picture, pixel for pixel.

How big does the PDF print?

The picture is fitted on one Letter or A4 page inside 10 mm margins, turned to suit its shape. The table below gives the printed size of a 4K picture.

Is it free?

Yes. There is no sign-up, no watermark and no limit.

Is anything uploaded?

No. Every pixel is worked out by JavaScript in your browser. Nothing you type is sent anywhere or saved when you close the page.