How to Convert GRIB to CSV (No Python, 2026)

Jun 23, 2026

You have a .grib2 forecast file and you need it as CSV — for Excel, pandas, or a quick plot. The traditional route is wgrib2 -csv or a Python/cfgrib script. Here's a faster way that needs no install.

The quick way: convert in your browser

Use the GRIB to CSV converter:

  1. Open /grib/to-csv.
  2. Drop your .grib2 file onto the page.
  3. Click the variable / level / time you want from the list.
  4. Press CSV — your browser builds and downloads a lat,lon,value file.

Everything runs locally with WebAssembly, so the file is never uploaded. No Python, no cfgrib, no xarray, no wgrib2.

What the CSV looks like

lat,lon,value
51.000,0.000,281.34
51.000,0.250,281.41
51.000,0.500,281.52

One row per grid point, three columns. Missing values are left blank. That opens directly in Excel, Google Sheets, pandas (pd.read_csv) or R.

The Python way (if you prefer scripting)

import xarray
ds = xarray.open_dataset("myfile.grib2", engine="cfgrib")
ds["t2m"].to_dataframe().to_csv("out.csv")

This works but needs Python, ecCodes and cfgrib installed. If you only need a one-off conversion, the browser converter is quicker and keeps your data private.

Need a different format?

The same tool also exports JSON and GeoJSON, and you can inspect the full file structure in the GRIB viewer.

GribBox

GribBox

How to Convert GRIB to CSV (No Python, 2026) | Blog