← All datasets

Every Castle

The platform's most atmospheric map: 29,160 castles across 116 countries, 98.6 percent carrying coordinates, so medieval Europe's defensive landscape ships as a scatter plot where the famous densities are visible from orbit: Germany holds 8,144, the United Kingdom 3,628, Italy 3,298, France 3,284, Spain 2,773, and Japan's 1,307 ride alongside as a parallel castle tradition. The roster is the full Wikidata castle class tree, chateaux, water castles, hill castles and tower houses included, with a Type column saying which and a purity guard that dropped 484 rows whose types showed no fortification signal at all (the class tree will happily offer a spa hotel that once had a tower). Dates honor the graph's honest unevenness: Built_Year appears only where construction is dated to a year or better (2,892 rows, Neuschwanstein's 1869 among them), Built_Century wherever any precision exists (4,807 rows; a castle built in the 1200s is century-true and year-NA, never a fabricated January 1st), and the century histogram peaks exactly where history says it should, 1,095 castles begun in the 13th century with the 12th and 14th flanking it. Condition is recorded on 3,107 rows in a conservator's vocabulary (1,506 demolished or destroyed, 835 ruinous, 599 preserved), heritage designation on 19,649, architectural style on 2,149, and 6,570 rows link their English Wikipedia article. Windsor Castle anchors the 11th century by test, year and century agree on every dated row by arithmetic, and coordinates all land on the globe. Built with an 11-test acceptance suite.
29,160 rows 1 file last pulled 2026-10-05
Castles 29,160 rows × 13 columns
CastleCastle_IDTypeCountryRegionBuilt_YearBuilt_CenturyConditionStyleHeritage_StatusLatitudeLongitudeCastle_URL

Questions and answers

What is the Every Castle dataset?

The platform's most atmospheric map: 29,160 castles across 116 countries, 98.6 percent carrying coordinates, so medieval Europe's defensive landscape ships as a scatter plot where the famous densities are visible from orbit: Germany holds 8,144, the United Kingdom 3,628, Italy 3,298, France 3,284, Spain 2,773, and Japan's 1,307 ride alongside as a parallel castle tradition. The roster is the full Wikidata castle class tree, chateaux, water castles, hill castles and tower houses included, with a Type column saying which and a purity guard that dropped 484 rows whose types showed no fortification signal at all (the class tree will happily offer a spa hotel that once had a tower). Dates honor the graph's honest unevenness: Built_Year appears only where construction is dated to a year or better (2,892 rows, Neuschwanstein's 1869 among them), Built_Century wherever any precision exists (4,807 rows; a castle built in the 1200s is century-true and year-NA, never a fabricated January 1st), and the century histogram peaks exactly where history says it should, 1,095 castles begun in the 13th century with the 12th and 14th flanking it. Condition is recorded on 3,107 rows in a conservator's vocabulary (1,506 demolished or destroyed, 835 ruinous, 599 preserved), heritage designation on 19,649, architectural style on 2,149, and 6,570 rows link their English Wikipedia article. Windsor Castle anchors the 11th century by test, year and century agree on every dated row by arithmetic, and coordinates all land on the globe. Built with an 11-test acceptance suite.

How big is the Every Castle dataset?

29,160 rows in one CSV file, with 13 columns in total: Castle, Castle_ID, Type, Country, Region, Built_Year, Built_Century, Condition, Style, Heritage_Status, Latitude, Longitude, Castle_URL.

Where does the data come from?

It is built by programmatically scraping wikidata.org, last pulled on 2026-10-05. Datasets are versioned; older versions stay downloadable.

Is the dataset free to download?

Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.

Can I see the code that built this dataset?

Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.

Can the data contain errors?

Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.

Browse every free dataset on CodeSights