Pro
sqlFastIn-Browser

SQL to EF Core (C#)

Convert SQL tables into C# POCO entity classes and DbContext Fluent API configurations for .NET 8 / 9.

SQL CREATE TABLE StatementsSQL
16 lines • 444 chars
C# Entity Framework Core POCO ClassesCSHARPC# EF Core Entities Generated
40 lines
Generates [Table], [Key], [Required], and typed properties

Are you a happy user?

Forge DevTools is free, private, and runs 100% in your browser.

Want more features?Upgrade to Pro
Buy us Coffee
Sharing is caring
Come back!
Link to this tool
Send Feedback

Key Capabilities & Features

Generates typed C# properties (int, string, DateTime, decimal, bool).
Applies DataAnnotation attributes ([Key], [Required], [MaxLength]).
Emits OnModelCreating Fluent API configuration blocks.
Supports nullable reference types (? notation).

How to Use This Tool in 3 Steps

1

Provide Input

Paste your raw code or data, choose options, or load a pre-configured sample.

2

Instant Client-Side Processing

The parser compiles your data instantly inside your browser without any network round-trip.

3

Copy or Export

Copy the result directly with one click or export to a local downloadable file.

Frequently Asked Questions

Yes. Columns defined as NULL in SQL automatically receive nullable C# types (e.g. string?, int?).