Aluminum and gallium doped ZnO TCO thin films were deposited by spin coating on glass substrates using crystalline nanoparticles redispersed in 1-propanol. All films have a hexagonal wurtzite crystal structure. The particle size and electrical and optical properties for both films are found to be dependent on the doping ratio. A minimum sheet resistance was obtained for GZO and AZO films at a doping ratio of 1 mol.%. The heat treatment has a great effect on the obtained layers where no phase changes were observed at temperature higher than 500°C, while the electrical conductivity is found to decrease by heating the films at temperature higher than 600°C. The transmittance of the AZO and GZO thin films is higher than 80% in the visible region. The optical band gap of the AZO is higher than that of the GZO, and both of them are higher than that of bulk ZnO in accordance with the Burstein-Moss effect. In conclusion, GZO films showed better properties than AZO ones when used as transparent conducting coatings.