Online version of MDX studio available
One of the great features in the current release of Mosha's MDX studio is the ability to format MDX queries. Now this feature is available online as well using this URL: http://mdx.mosha.com/ . For more details see Mosha's blog entry .
If you need to format SQL queries, you can also use online services like sqlHere .