AMPL File Viewer

Online tool for viewing and highlighting AMPL optimization model and data files

// Upload an .ampl, .mod or .dat file to view its content
Supported file types: .mod, .dat, .ampl

Supported File Types

.mod
Model files
.dat
Data files
.ampl
Script files
.txt
Text files

How to Use the AMPL File Viewer

1
Click the "Choose File" button above or drag and drop your AMPL file anywhere on this page.
2
Select your AMPL file (.mod, .dat, .ampl or .txt extension) from your computer.
3
View your optimization model or data with syntax highlighting in the viewer above.
4
(Optional) Copy the highlighted code by selecting it and using Ctrl+C/Cmd+C.

Benefits of Using This Tool

Frequently Asked Questions