I review Double Field Theory (DFT), in which the T-duality or O(d,d) invariance of a
gravity action for string theory is made manifest by formulating the theory
in terms of a generalized geometry defined on an doubled spacetime. I also review
more recent work on the extension to include an arbitrary number of higher-derivative
\alpha' corrections, which in DFT are constrained by generalized diffeomorphisms.