The Piano Sonata No. 12 in F major by Wolfgang Amadeus Mozart, K. 332/300k, was written at the same time as the Piano Sonata, K. 330 and Piano Sonata, K. 331 (Alla turca), Mozart numbering them as a set from one to three. They were once believed to have been written in the late 1770s in Paris, but it is now thought more likely that they date from 1783, by which time Mozart had moved to Vienna. Some believe, however that Mozart wrote this and the other sonatas during a summer 1783 visit to Salzburg made for the purpose of introducing his wife, Constanze to his father, Leopold. All three sonatas were published in Vienna in 1784.