Skip to content


See command line interface or integrations for details on installing the latest release of ktlint.

Online demo

See ktlint online if you want to try-out 'ktlint'. This online version compares rule sets provided by ktlint and diktat (a layer on top of ktlint). To contribute to or get more info about ktlint online, please visit the GitHub repository.