tidy

From their README


alfred-tidy

Alfred 4 workflow to beautify JSON/XML in clipboard

Prerequisites

You need Node.js 6+ and Alfred 4 with the paid Powerpack upgrade.

Usage

Copy JSON/XML snippet to clipboard

  • cmd + C

Beautify

  • Type tidy, Space, select JSON or XML
  • Enter
  • Cmd + V to your editor
json xml

Install

$ npm i -g alfred-tidy

Reference

License

MIT © Jaewe Heo