Reformat XML in Visual Studio 2010 December 25, 2022 by Tarik Yes you can : Edit > Advanced > Format document (Ctrl+K Ctrl+D)