AML by Azimutt

The easiest DSL for database schemas

If you ever designed a database schema on a whiteboard,
AML is made for you ❤️. It's fast to learn and write, and can be translated to other dialects.

blog.md
blog.sql
blog.json
# sample AML

users
  id uuid pk
  name varchar
  email varchar unique
  role user_role(admin, guest)=guest

posts
  id uuid pk
  title varchar
  content text | in markdown
  created_at timestamp=`now()`
  created_by uuid -> users(id) # inline relation

Available in all flavors

Use AML as you like

In Visual Studio Code

VS Code extension providing syntax highlighting, inline errors, smart suggestions, symbol rename and even conversions to SQL, JSON, DOT, Mermaid and more...

Get extension

In Azimutt

If you are designing your database schema, this is the best option to write AML fast and see your schema in a visual way (needs paid plan, use free trial 😉).

Use Azimutt design

With converters

Azimutt offers free converters from/to many formats: AML, SQL, JSON, DBML, Mermaid and more. Use our converters to quickly get what you need.

Use converters

As a library

Integrate AML in your own projects, include it as a dependency and start parsing/generating it easily. Feel free to contribute if you like 🙏

Get on npm

Try it live

Here is a playground to try it and see how it's converted in JSON. As a reminder, here is the AML documentation, but try it on your own first 😉

So nice 😍

Live design in Azimutt 👇️

AML in Azimutt