Born in Vienna, Hartl began his film career at the AustrianSascha-Film company of Alexander Kolowrat and from 1919 was assistant to the Hungarian director Alexander Korda. As a production manager, he in the 1920s accompanied Korda to Berlin, until in 1926 he returned to Vienna to work for his former class-mate director Gustav Ucicky. From 1930 he worked for Universum Film AG and gave his debut as director of Ein Burschenlied aus Heidelberg starring Hans Brausewetter and Willi Forst, with young Billy Wilder as a screenwriter. Together with Luis Trenker he directed the Gebirgsjäger drama Berge in Flammen in 1931. He then experimented with other genres, for example the comedy Die Gräfin von Monte Cristo with Brigitte Helm and Gustaf Gründgens, and in the same year achieved his final breakthrough with the flying drama film F.P.1 antwortet nicht written by Curt Siodmak and produced by Erich Pommer, with Conrad Veidt, Leslie Fenton and Jill Esmond. Hans Albers, Peter Lorre and Sybille Schmitz in the leads. His lavish science fiction filmGold, released in 1934, is surprisingly listed as among the most successful German films of the genre. Karl Hartl had some experience in Spanish documentaries, and in 1937 also directed the popular criminal comedy Der Mann, der Sherlock Holmeswar starring Hans Albers and Heinz Rühmann. After most of the talented directors, technicians, actors had been forced to leave in the course of the 1938 Anschluss annexation of Austria by Nazi Germany, Hartl became director of production for Wien-Film, the newly created and indirectly stated-owned body through which the UFA, and beyond them the Nazi government represented by Reich Minister Joseph Goebbels, controlled the Austrian film industry. In this role, which he retained until the end of the war, Hartl seldom undertook work on individual films himself but was nevertheless involved at a senior level with some of the most significant entertainment films of the Nazi period. He was also a member of the Advisory Council of the president of the Reichsfilmkammer. After 1945 he resumed film-making. On 3 July 1947 he set up in Salzburg, with the support of the Creditanstalt, the film production company Neue Wiener Filmproduktionsgesellschaft. One of his most acclaimed films of this period was Der Engel mit der Posaune in 1949, which brought together many compatriot Austrian stars: Paula Wessely, Attila and Paul Hörbiger, Oskar Werner and Maria Schell. His later films included Weg in die Vergangenheit from 1954 and Mozart, which entered the 1956 Cannes Film Festival. Karl Hartl was married to the actress Marte Harell. He died in Vienna aged 79 and is buried in an Ehrengrab of the Hietzing cemetery.