Overview
DartPad is the official online playground for the Dart language, linked from dart.dev and developed in the open in the dart-lang GitHub organisation under a BSD licence. You write code in the browser and run it straight away, with no SDK to install.
It handles plain Dart console programs, web code and Flutter apps, including package:flutter and dart:ui. The editor formats code with the Dart formatter, offers hints and autocomplete as you type, shows the SDK version, and comes with built-in samples to start from. DartPad can also be embedded in other web pages as an iframe, so tutorials and docs can include runnable examples.
It is meant for learning and quick experiments rather than full projects: only multi-platform core libraries work, deferred loading is not supported, and only a curated set of pub.dev packages is available.
Categories
Features
- Runs Dart console, web and Flutter code in the browser
- Flutter apps with package:flutter and dart:ui
- Dart formatter, hints and autocomplete
- Built-in samples to start from
- Embeddable in other websites as an iframe
- Shows the Dart SDK version in use
- Supports a curated set of pub.dev packages
Privacy
Your code is compiled and analysed by DartPad's backend service, according to the project repository, rather than entirely in your browser. See the official privacy policy.
Pros & Cons
Pros
- Free, open source and needs no account
- Fastest way to try Dart or Flutter without installing anything
- Linked from dart.dev as the official way to try Dart online
Cons
- Only multi-platform core libraries are available, so no file or system access
- Limited set of packages and no deferred loading
- Not suited to multi-file or full-size projects
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
An online code editor and playground for HTML, CSS, and JavaScript.
Freemium No Signup Web -
A social code playground for front-end code.
Freemium Web -
A collaborative JavaScript, HTML, and CSS playground.
Open Source Web -
Code Playgrounds · PlayCode
A fast online JavaScript playground with live preview.
Freemium No Signup Web