title: Is there an online tool to auto-indent and format Clojure code like there are many for JSON?
body: <p>There are a lot of tools online that take a JSON text and show you formatted and well indented format of the same.</p>
  
  <p>Some go even further and make a nice tree-like structure: <a href="http://jsonviewer.stack.hu/" rel="noreferrer">http://jsonviewer.stack.hu/</a></p>
  
  <p>Do we have something similar for Clojure code ?</p>
  
  <p>Or something that can at least auto-indent it.</p>
  
  <p>If the text that I have is this :</p>
  
  <pre><code>(defn prime? [n known](loop [cnt (dec (count known)) acc []](if (&lt; cnt 0) (not (any? acc))
  (recur (dec cnt) (concat acc [(zero? (mod n (nth known cnt)))])))))
  </code></pre>
  
  <p>It should auto-indent to something like this:</p>
  
  <pre><code>(defn prime? [n known]
    (loop [cnt (dec (count known)) acc []]
      (if (&lt; cnt 0) (not (any? acc))
      (recur (dec cnt) (concat acc [(zero? (mod n (nth known cnt)))])))))
  </code></pre>