An online JSON formatter.
Copy paste or type in a JSON string on the website and click the format button in the bottom right corner or use one of the format keyboard shortcuts.
Command + S or Control + S.