.inp file.
You can import your existing EPANET models into epanet-js using the standard INP file format. This lets you view, edit, and run simulations right in your browser - no extra software needed. Just keep in mind that not all EPANET features are supported yet. We’re actively improving the importer and aiming for full compatibility over time.
Steady-state simulations only:
Currently, epanet-js primarily supports steady-state hydraulic simulations. This means that while many elements of your INP file will be imported, features related to Extended Period Simulation (EPS) or water quality modeling are generally not supported for simulation purposes.
DURATION greater than zero, epanet-js will flag this as an EPS model, but will still attempt to run a steady-state simulation based on the initial conditions.Nodes must have coordinates:
All nodes (junctions, reservoirs, tanks) defined in your INP file must have corresponding entries in the [COORDINATES] section to be properly imported and visualized. If coordinates are missing for some nodes, you will receive a warning, and those nodes will not be included in the imported model.
WGS84 projection (latitude/longitude) required:
For epanet-js to correctly display your network on the map, all geographic coordinates in your INP file (for junctions, reservoirs, tanks, and pipe vertices) must be in the WGS84 (EPSG:4326) geographic coordinate system (latitude and longitude).
If your INP file uses a different projection system (e.g., a local state plane or UTM coordinates), you will encounter an error message during import:
"Your INP includes coordinates or vertices that use a projection system that is not supported yet. Please ensure all assets are geocoded using the WGS84 standard."
<aside> <img src="/icons/globe_blue.svg" alt="/icons/globe_blue.svg" width="40px" />
EPANET Projection Converter Utility
You can convert your INP file to the WGS84 system using our EPANET Projection Converter utility: https://utils.epanetjs.com/projection-converter
</aside>
When you import an INP file, epanet-js checks its contents. If it finds sections that aren't supported, options that differ from the default settings, or features related to EPS or water quality, it will list them as issues.

When you save the model, epanet-js will ask you to save a copy so your original file stays unchanged.

We're always working to improve INP file support and add more features. You can follow progress in our changelog.
Here's a breakdown of how epanet-js currently handles different sections commonly found in an EPANET INP file: