SchemaSpy is a tool that can automatically generate documentation of a database schema from the actual database. It produces HTML documents and diagrams that provide an up-to-date view of the database structure with very little setup or maintenance costs. SchemaSpy supports documentation generation for various database types either from the command line by specifying parameters, or by integrating the command line into an Ant build script.