Currently, I can use the space bar to preview a number of files such as .txt, .css, .html etc in Quick Look. I cannot, however, see the actual contents of a .json file.

Is there any possible way to see the contents of .json files through space bar preview in finder? (I'm Using OSX 10.8.4)


Download a release of qlstephen from Github, and load it into the /Library/Quicklook or ~/Library/QuickLook folder. Then, restart the Dock.

I use this all the time when previewing JSON files, and it works great.

  • 4
    Worked perfectly. Thanks. One thing to add for terminal n008s like myself, restart the dock with the command "killall Dock".
    – Paul
    Aug 14 '13 at 16:53

also installable via

brew cask install qlstephen
  • 1
    I had to first brew install caskroom/cask/brew-cask. Works great!
    – nialsh
    Oct 20 '15 at 21:50
  • 4
    brew cask install qlstephen && killall Dock works for me, thanks! Aug 20 '18 at 14:56
  • I didn't even need to killall Dock on Mojave. Thanks Sep 9 '19 at 18:14
  • 1
    new syntax is brew install --cask qlstephen
    – Tudor Luca
    Feb 5 '21 at 13:52

You can use the quicklook-json plugin. If you want to install it via homebrew, run

brew cask install quicklook-json

which requires a running

brew install caskroom/cask/brew-cask

if you never did that before.

  • Actually, vanilla brew search quicklook only returns quicklook-json as related to Json.
    – hectorpal
    Feb 10 '17 at 18:24

Run brew cask install quicklook-json to Preview JSON files.

There are bunch of other usefull here, check following awesome list https://github.com/sindresorhus/quick-look-plugins

Or install with following

brew install caskroom/cask/brew-cask
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch
brew cask install quicklook-csv betterzipql qlimagesize webpquicklook suspicious-package
  • 1
    one of the best links ever... :) wish I had some spare points to give
    – mlo55
    Jul 21 '16 at 12:35
  • @mlo55 just enjoy the quick looks ! Jul 21 '16 at 13:35

Macports provides an adequate port: sudo port install QLStephen.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .