.dart Dart source code

Text & source code

MIME typeapplication/vnd.dart
DescriptionDart source code
CategoryText & source code
Based ontext/plain

Frequently asked questions

What is a .dart file?

A .dart file is a “Dart source code” (MIME type application/vnd.dart).

How do I open a .dart file?

With any text editor – Notepad++, Visual Studio Code, or gedit and vim on Linux. The file contains readable text, possibly source code or configuration.

How can you tell a genuine .dart file?

No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.dart shows the guessed type.

Which format is .dart based on?

Technically a .dart file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .dart?

The MIME type is application/vnd.dart. In the Apache web server: AddType application/vnd.dart .dart; in nginx: types { application/vnd.dart dart; }.

Nearby entries