FXML

fxml icon

Oracle FXML language source code

File type: Source code and script file

An FXML source file contains XML-based markup for defining a JavaFX user interface and its component objects.

What is fxml file?

File type category:
Source code and script file

Date updated: November 22, 2026

FXML is an XML-based markup language created by Oracle for defining user interfaces and object graphs in JavaFX applications.

An FXML document describes interface elements and their relationships. It can also connect those elements to a controller class that provides application behavior. JavaFX applications load the document to create the corresponding objects.

NetBeans and Eclipse can be used to work with FXML source on Windows, macOS, and Linux. FXML remains in use as part of JavaFX development.

How to open fxml file?

Open an .fxml file in NetBeans or the Eclipse IDE to view and edit its XML-based source. Use the editor's text view if it does not open as source automatically.

How to convert fxml file?

FXML is source code, not a compiled application, and has no general-purpose conversion that preserves its role in a JavaFX project. Keep it as an .fxml file when using it in the application.

To see the interface it describes, run a JavaFX application that loads the FXML document. The displayed interface is runtime output, not a converted replacement file.

Suggested software to open fxml file:

Associated software actions with the fxml file

Software applications that can open fxml files:

Software applications that can edit fxml files:

Software capable of saving fxml files:

Software apps that create fxml files:

Related file extensions