Paste XML and get it pretty-printed with nested indentation — or stripped of whitespace into one compact line.
No — the document must be well-formed. If a tag is unclosed you'll get an error pointing at the problem.
Yes, content is unchanged — only inter-tag whitespace is affected.
No, processing happens in the browser.