Karlstein's Ortsteile (constituent villages) are Dettingen and Großwelzheim, the former being notable as the site of the Battle of Dettingen during the War of the Austrian Succession.
Karlstein was first mentioned as Chadelstain in 1112. As a Feudal castle (castle held in fief) of various noble families, Karlstein belonged to the respective sovereign.
Karlštejn (německy Karlstein) je původem středověký královský hrad, nacházející se na katastrálním území Budňany v městysi Karlštejn v okrese Beroun asi třináct kilometrů východně od Berouna a třicet kilometrů jihozápadně od centra Prahy.