I have some GeoTiff files. I want read their header and save it to .txt

I've tried several programs, but none of them work properly. If u know some GeoTiff reader let me know ;)

  • 3
    What was one program that you tried, how did you try to use it and in what way did it not work properly?
    – PolyGeo
    Oct 18, 2015 at 11:18
  • 1
    I have the felling by header he means stored metadata.
    – nickves
    Oct 18, 2015 at 14:26

2 Answers 2


Assuming that @nickves is correct and you talking about the stored metadata, I would do this with gdal. Use gdalinfo and direct the output to a text file:

$: gdalinfo mygeotiff.tif > mygeotiff_metadata.txt 2>&1

The mygeotiff_metadata.txt file will be created (or overwritten if it already exists) in the directory from which you run the command. I'm using windows, but I'm pretty sure the syntax is the same on Linux. Don't know about iOS.


In the past I used libgeotiff and in particular listgeo to export geotiff metadata. See http://trac.osgeo.org/geotiff/.

There is both a win32 gui and command line exe available for download.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.