TailwindSQL

SQL queries with Tailwind-like syntax

All Users

select-all from-[User]
[
  {
    "id": 1,
    "email": "alice@example.com",
    "name": "Alice",
    "createdAt": "2025-12-23T21:37:58.017Z",
    "updatedAt": "2025-12-23T21:37:58.017Z"
  },
  {
    "id": 2,
    "email": "bob@example.com",
    "name": "Bob",
    "createdAt": "2025-12-23T21:37:58.017Z",
    "updatedAt": "2025-12-23T21:37:58.017Z"
  },
  {
    "id": 3,
    "email": "charlie@example.com",
    "name": "Charlie",
    "createdAt": "2025-12-23T21:37:58.017Z",
    "updatedAt": "2025-12-23T21:37:58.017Z"
  },
  {
    "id": 4,
    "email": "diana@example.com",
    "name": null,
    "createdAt": "2025-12-23T21:37:58.017Z",
    "updatedAt": "2025-12-23T21:37:58.017Z"
  }
]

User Names Only

select-[id,name,email] from-[User]
  • Alicealice@example.com
  • Bobbob@example.com
  • Charliecharlie@example.com
  • Anonymousdiana@example.com

Parser Demo

Input: select-all from-[User] where-[id=1]

Output: SELECT * FROM User WHERE id=1