Build a Flutter app without installing the Flutter SDK. Write your main.dart here, click Load in DartPad, and the code opens in the embedded DartPad, the official Dart and Flutter playground from the Dart team. Press DartPad's Run button and the app appears next to the code, fully interactive.
Start from a sample app: hello world, the classic counter with StatefulWidget, a form with TextField, a ListView.builder list, a responsive grid and a FizzBuzz screen built with a loop. Your code is saved in your browser and can be shared with a link.
How to use the Flutter Online Compiler tool
- Pick a sample app or write your own Flutter code with a
main()that callsrunApp. - Click Load in DartPad; DartPad opens below with your code.
- Press ▶ Run inside DartPad. The first build takes 10–30 seconds.
- Edit here and click Load in DartPad again, or edit directly in DartPad.
- Share your app with Share code or open it in K-Programmer.
Why use ToolOrca Flutter Online Compiler
- Real Flutter running in DartPad (Flutter web), the official playground
- Material 3 widgets: Scaffold, AppBar, ListView, GridView, TextField, buttons
- Six sample apps covering layout, state, input and lists
- Editor with highlighting, line numbers, autosave and share links
- No Flutter SDK, Android Studio or Xcode needed
- Works on desktop and tablets; phones work best in landscape
How it works
Flutter apps are compiled to JavaScript and WebAssembly by DartPad's servers and shown in its preview pane. This page sends your code to the embedded DartPad; it does not run Flutter itself. You press DartPad's Run button to build, because DartPad embeds never start a build on their own.
Only the Flutter SDK and the set of popular packages that DartPad includes are available. Code must be in one file.
Flutter widgets in the samples
The samples go from a StatelessWidget showing text, to a StatefulWidget with setState, a TextEditingController for input, ListView.builder with SnackBars, GridView.builder with a maximum tile width, so the grid adds columns on tablets, and a for loop inside a widget list.
For plain Dart console programs with input, use the Dart online compiler.
Learn Flutter
Change a colour, add a button or a new screen, then load and run again. Small changes with quick feedback are the best way to learn Flutter.
K-Programmer has Flutter lessons with live previews and auto-graded Flutter exercises.
Frequently asked questions
Does this page compile Flutter itself?
No. It sends your code to the embedded DartPad (dartpad.dev), the official playground, which builds and runs the app when you press its Run button.
Why does the first run take long?
DartPad compiles the whole Flutter framework for the first build. Later runs are faster.
Can I use packages from pub.dev?
Only the packages DartPad includes. Apps that need other packages or native code must be built with the Flutter SDK on your computer.
How do I share my code?
Click Share code. The link that is copied contains your code and input, compressed, after the # sign, so nothing is stored on a server and the link works as long as you keep it.
What is "Open in K-Programmer"?
K-Programmer is a free platform for learning to code, with lessons, quizzes, contests and the same online compiler. The button copies your code and opens K-Programmer, where you choose the language, paste the code and keep working (sign in to save programs).