Degradation of organic pollutants, especially organic dyes and antibiotics, by semiconductor photocatalysts is an efficient strategy for wastewater treatment. TiO2 nanomaterials are considered to be promising photocatalysts due to their high chemical stability, high efficiency and availability. Anatase TiO2 generally has superior photocatalytic activity to the rutile phase. However, the anatase phase can be irreversibly transformed to rutile phase when calcined at an elevated temperature. Methods to improve the stability of anatase are especially important for the TiO2 gas sensors working at high temperatures. The addition of strong acids can effectively suppress this transformation process. However, these strong acids are relatively expensive, corrosive and environmentally unfriendly. Herein, oxalic acid (OA) as a natural acid was used to control the hydrolysis process of tetrabutyl titanate (TBOT), leading to controllable crystalline phase transformation and reduced crystalline size of TiO2 on the nanoscale. What is more, the photocatalytic degradation performances were enhanced continuously when the molar ratio of OA to TBOT increased. The degradation reaction rate constants of CT650-R25 were about 10 times that of CT650-R0. The mechanism study shows that the enhanced photocatalytic activity can be attributed to the improved dispersibility, increased specific surface area and reduced recombination rates of photo-induced charge carriers and decreased energy bands as the concentration of OA increased. Thus, this work provides a simple, mild and effective method for controlling the crystalline forms of nano-TiO2 with enhanced photocatalytic performance towards waste water treatment.