Search code examples
xmlgoogle-chrome-devtoolspretty-print

Pretty print XML in Chrome Developer Tool


I can't figure out how to pretty print XML in Chrome Developer Tools. Both my "Preview" and "Response" tab under the "Network" panels shows the XML in its raw form.

I'm using Chrome 26.0.1410.65 (latest as of writing) and OS X 10.8.3 (also latest).

enter image description here enter image description here

Here is the header information if it helps:

enter image description here


Solution

  • If you are using JavaScript or jQuery, just use console.log() and the xml will be pretty printed.