A stochastic thermodynamics of Brownian motion is set up in which state functions are expressed in terms of state variables through the same relations as in classical irreversible thermodynamics, with the difference that the state variables are now random fields accounting for the effect of fluctuations. Explicit expressions for the stochastic analog of entropy production and related quantities...