.TFW

TFW File

TIFF World File (ESRI georeferencing sidecar)
Ask a question
QUICK ANSWER

A TFW file is a "world file" - a tiny six-line text file that tells GIS software where a TIFF image sits on the map (position, scale, and rotation). It contains no image data; it lives next to a .tif of the same name and is read automatically when you add the TIFF to QGIS or ArcGIS Pro. You rarely need to open it directly, but any text editor shows the six numbers inside.

Developer: Esri (ArcView / ArcGIS world-file convention) Category: GIS Files Open standard MIME: text/plain
OPENS ON Windows macOS Linux
Related: .GPX · .GML · .KML · .SHP

On this page

19k+ extensions indexed
Last reviewed Jun 22, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the TFW file format?

.tfw files store georeferencing data for TIFF rasters in a GIS (Geographic Information System) context. Each .tfw file is a plain-text sidecar that sits alongside a .tif or .tiff image of the same base name, supplying the spatial anchoring that the image itself lacks.

.tfw files store information in plain text: exactly six numeric lines, one decimal number per line. These six values encode an affine transform that maps image pixels to real-world map coordinates:

  • x pixel size (ground distance covered per pixel column)
  • row rotation (typically 0.0 for north-up imagery)
  • column rotation (typically 0.0 for north-up imagery)
  • y pixel size (a negative value: ground distance per pixel row)
  • x coordinate of the centre of the upper-left pixel
  • y coordinate of the centre of the upper-left pixel

.tfw files are structurally identical in concept to other world files such as .jgw (JPEG) and .pgw (PNG) - the naming convention uses the image extension's first and last letters plus w. .tfw files are commonly used for storing precise satellite imagery, aerial photography, and scanned map data alongside their raster source.

The world-file convention was introduced by Esri in the early 1990s with ArcView. A .tfw carries no pixel data and no coordinate reference system name; only the six affine coefficients. The coordinate system is typically specified in a companion .prj file. Modern GIS workflows often embed georeferencing directly inside GeoTIFF tags instead, but .tfw sidecars remain widely supported for compatibility with non-GeoTIFF rasters and legacy pipelines.

Security & safety

RISK: LOW

A TFW is a tiny plain-text file with six numbers - it cannot contain or execute code and carries no privacy data beyond the map coordinates of the associated image. The only real 'risk' is operational: deleting or mismatching the .tfw leaves the TIFF un-georeferenced (it opens as a plain picture but won't line up on the map), and editing the numbers carelessly shifts the image off-position. Keep the .tfw with its same-named image.

Format details

in a nutshell
FULL NAMETIFF World File (ESRI georeferencing sidecar)aka TIFF world file, ESRI world file (TIFF)
DEVELOPEREsri (ArcView / ArcGIS world-file convention)since Early 1990s with Esri ArcView; the world-file convention is a de facto GIS standard
CATEGORYGIS Files
MIME TYPEtext/plain
TYPEPlain-text georeferencing sidecar - six affine-transform coefficients
STANDARDOpen · royalty-free

Programs that open TFW files

Windows4 apps
QGIS Open-source Add the .tif (Layer → Add Raster Layer); QGIS reads the sibling .tfw automatically to place it. The free, standard GIS tool.
ArcGIS Pro Paid Add the TIFF to a map; the .tfw is read automatically. ArcGIS Pro is Esri's current desktop product (ArcMap retired).
Any text editor (Notepad, Notepad++) Free Open the .tfw to read or edit the six georeferencing numbers directly - it's plain text.
GDAL (gdalinfo / gdal_translate) Open-source Command-line: 'gdalinfo map.tif' shows the georeferencing read from the .tfw; gdal_translate can embed it into a GeoTIFF.
macOS1 app
QGIS Open-source Add the .tif; QGIS reads the .tfw sidecar automatically on macOS too.
Linux2 apps
GDAL Open-source Use gdalinfo/gdal_translate to inspect or bake the .tfw into a GeoTIFF.
QGIS Open-source Add Raster Layer → the .tif; the .tfw is applied automatically.

Technical details

deep spec
File typePlain-text georeferencing sidecar (world file)
MIME typetext/plain
StructureExactly six lines, each containing one decimal number representing an affine-transform coefficient
Typical file sizeUnder 200 bytes
EncodingASCII / UTF-8, no binary content
File signature (magic bytes)None - no binary header; identified by six-line numeric content and a base filename matching a companion raster
Extension naming ruleFirst and last letter of the image extension plus 'w' - .tif → .tfw; .tiff → .tifw (less common)
Affine coefficients (line order)A: x pixel size; D: row rotation; B: column rotation; E: negative y pixel size; C: x of upper-left pixel centre; F: y of upper-left pixel centre
Coordinate reference systemNot stored in the .tfw itself - supplied by a companion .prj file or embedded GeoTIFF tags
Associated raster format.tif / .tiff - the .tfw must share the exact base filename with its TIFF image
OriginIntroduced by Esri with the ArcView world-file convention, early 1990s
Related world-file variants.jgw (JPEG), .pgw (PNG), .bpw (BMP), .wld (generic world file accepted by many GIS applications)
Modern alternativeGeoTIFF - georeferencing embedded directly in TIFF tags, eliminating the need for a .tfw sidecar
ReleasedEarly 1990s with Esri ArcView; the world-file convention is a de facto GIS standard
Latest versionN/A (a 6-line text convention; unchanged since introduction)
Open standardYes · royalty-free
Specificationen.wikipedia.org

TFW conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with TFW files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about TFW files.

Frequently asked questions

What is a TFW file?
It's a TIFF 'world file' - a six-line text file that tells GIS software where a .tif image sits on the map (position, scale, rotation). It has no image data of its own and lives next to the TIFF of the same name.
How do I open a TFW file?
You normally don't open it directly - add the matching .tif to QGIS or ArcGIS Pro and the .tfw is read automatically. To see the raw numbers, open it in any text editor; it's plain text.
My TIFF won't line up on the map - what's wrong with the TFW?
Usually the .tfw is missing, has a different base name than the image, or holds wrong values. Make sure map.tif and map.tfw share the exact name and folder, and that a .prj supplies the coordinate system.
Can I delete the TFW file?
The TIFF still opens as a picture without it, but it loses its map placement and must be re-georeferenced. Keep the .tfw unless you've baked the georeferencing into a GeoTIFF.
What do the numbers in a TFW mean?
Six values: X pixel size, two rotation terms (usually 0), negative Y pixel size, and the X and Y map coordinates of the centre of the top-left pixel - together an affine transform from pixels to map coordinates.
What's the difference between a TFW and a GeoTIFF?
A TFW is a separate sidecar file; a GeoTIFF stores the same georeferencing inside the TIFF's own tags, so it needs no extra file. GDAL or QGIS can convert a TIFF+TFW into a self-contained GeoTIFF.

References

1Wikipedia - World fileen.wikipedia.org
2Esri - World files for raster datasetsdesktop.arcgis.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.EXEWindows Executable (Portable Executable)

Related extensions

.GPXGPS Exchange Format
.GMLGeography Markup Language
.KMLKeyhole Markup Language
.SHPEsri Shapefile (geospatial vector data)
.RTMAPCompeGPS / TwoNav Tiled Raster Map
.KMZKeyhole Markup Language Zipped (Google Earth)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z