diagram2code
Converter Diff
Documentation
Overview Mermaid Syntax PlantUML Syntax
SQL DDL Generation ORM Generation API Reference Schema Diff
Roadmap About Contact

Terms of Service

Last updated: April 2, 2026

1. Acceptance of Terms

By using Diagram2Code (the "Service"), including the web interface at diagram2code.com and the REST API, you agree to these Terms of Service ("Terms"). If you are using the Service on behalf of an organisation, you represent that you have authority to bind that organisation to these Terms.

If you do not agree to these Terms, do not use the Service.

2. Description of Service

Diagram2Code is a developer tool that converts Mermaid ER diagrams and PlantUML entity-relationship diagrams into SQL DDL statements and ORM model code. The Service is currently provided as a free tool.

3. Acceptable Use

You agree not to use the Service to:

  • Submit diagrams containing malicious content intended to exploit server-side vulnerabilities
  • Attempt to reverse-engineer, scrape, or exfiltrate proprietary system data
  • Exceed your tier's rate limits or quotas through automated means designed to circumvent them
  • Resell access to the API without a written reseller agreement
  • Use the Service in any way that violates applicable laws or regulations

We reserve the right to suspend or terminate access for violations of these terms without prior notice.

4. Intellectual Property

4.1 Your Content

You retain full ownership of any diagrams you submit to the Service. By submitting a diagram, you grant us a transient, non-exclusive licence to process it solely to generate the requested output. We do not claim any rights to your diagrams and do not store them after processing.

4.2 Generated Output

All SQL DDL and ORM model code generated by the Service is yours. You may use generated code in personal or commercial projects without restriction or attribution. No licence fee is owed to Diagram2Code for using the generated output.

4.3 The Service Itself

The Diagram2Code web application, backend code, and associated intellectual property are owned by us and protected by copyright. You may not copy, modify, or redistribute the Service software without written permission.

5. Availability and Uptime

We aim to keep the Service available at all times but make no uptime guarantee. Scheduled maintenance windows may occur.

We are not liable for any loss or damage caused by downtime, whether planned or unplanned.

6. Disclaimer of Warranties

The Service is provided "as is" and "as available" without warranties of any kind, express or implied, including but not limited to implied warranties of merchantability, fitness for a particular purpose, or non-infringement. We do not warrant that the generated SQL or ORM code will be error-free or suitable for any particular production environment. You are responsible for reviewing and testing generated output before deploying it.

7. Limitation of Liability

To the maximum extent permitted by applicable law, in no event will Diagram2Code be liable for any indirect, incidental, special, consequential, or punitive damages, including but not limited to loss of revenue, data loss, or business interruption, arising from your use of the Service, even if we have been advised of the possibility of such damages.

Our total aggregate liability to you for any claim arising from these Terms or the Service will not exceed the fees you paid to us in the 12 months preceding the claim, or $10 USD for free-tier users.

8. Indemnification

You agree to indemnify, defend, and hold harmless Diagram2Code and its officers, employees, and contractors from and against any claims, damages, losses, and expenses (including reasonable legal fees) arising out of your use of the Service, your violation of these Terms, or your violation of any third-party rights.

9. Privacy

Your use of the Service is also governed by our Privacy Policy, which is incorporated into these Terms by reference.

10. Changes to Terms

We may update these Terms at any time. Material changes will be announced by updating the "Last updated" date. Continued use of the Service after changes constitutes acceptance.

11. Governing Law

These Terms are governed by and construed in accordance with the laws of the jurisdiction in which Diagram2Code is registered, without regard to conflict of law principles. Any disputes will be resolved exclusively in the courts of that jurisdiction.

12. Contact

Questions about these Terms? Use our contact form or open an issue on GitHub.

Diagram2Code

Convert Mermaid and PlantUML ER diagrams into production-ready SQL DDL and ORM model code.

Product

Converter Diff Docs Roadmap

Company

About Contact GitHub

Legal

Privacy Policy Terms

© 2026 Diagram2Code. All rights reserved.