A TFW file is a small text file that tells mapping software where a TIFF image sits on the earth, how big each pixel is, and how the image is oriented. It is called a TIFF world file. If you have ever received an orthomosaic as a .tif with a .tfw beside it, the pair only works as a map when both files stay together. This guide explains what is inside, how to open it, and how to fix the usual problems, written for drone operators, construction teams and property managers who just want the map to land in the right place.
We built DataDelivery™ so that site teams and the drone providers who serve them can organize and deliver aerial data by property, site and date. Understanding the TFW is useful because it is one of the quiet files that decides whether a deliverable lines up with everything else you own.
TL;DR
- A TFW is a plain ASCII text file with six numbers. It georeferences the TIFF that shares its file name.
- The numbers give pixel size, rotation and the map coordinates of the upper-left pixel. They do not store a coordinate reference system.
- Keep the .tfw in the same folder as the .tif, with the same base name. Open the .tif, not the .tfw.
- A wrong location almost always comes from a missing or mismatched coordinate system, a separated file pair, or a conflict between embedded tags and the world file.
- For client delivery, a platform that keeps each orthomosaic tied to its site and date removes the risk of loose file pairs.
Table of Contents
- What a TFW file actually is
- The six lines, one at a time
- A worked example
- What a TFW does not contain
- TFW versus GeoTIFF
- How to open a TFW file
- Creating a TFW from a GeoTIFF
- Why the map lands in the wrong place
- Why this matters for site teams
- Perspective
- Deliver orthomosaics without the file juggling
- FAQ
- Sources
What a TFW file actually is
A TIFF is a regular image. It knows its width and height in pixels, but a plain TIFF has no idea where on earth it belongs. A TFW supplies that missing link. Esri’s documentation describes it as an ASCII text file with six lines of numbers that describe the image’s location, scale and orientation.
The naming rule is simple. The world file takes the image’s name and inserts a “w” into the extension, so image.tif pairs with image.tfw (or image.tifw), according to the ArcGIS Pro documentation. The “world” part of the name means world coordinates: real map positions rather than image positions.
Because it is plain text, you can open a TFW in any text editor. There is nothing to run and nothing to install. That also means it is easy to edit by accident, so treat it as part of the deliverable.
The six lines, one at a time
The six numbers are the coefficients of an affine transformation, the math that converts a pixel’s column and row into a map coordinate. The USGS sample world file writes it as x1 = Ax + By + C and y1 = Dx + Ey + F, where x and y are the pixel position and x1, y1 are the map position.
The Ordnance Survey’s georeferencing documentation lists the lines in this order:
| Line | What it holds | What it means on a drone map |
|---|---|---|
| 1 | Pixel size in the x-direction | Ground width of one pixel, in map units |
| 2 | Rotation about the y-axis | Usually 0 for a north-up image |
| 3 | Rotation about the x-axis | Usually 0 for a north-up image |
| 4 | Pixel size in the y-direction | The same size as line 1, but negative |
| 5 | X coordinate of the upper-left pixel center | Easting of the image’s top-left corner |
| 6 | Y coordinate of the upper-left pixel center | Northing of the image’s top-left corner |
Two details trip people up.
The center, not the corner. Lines 5 and 6 refer to the center of the upper-left pixel, not the outer corner of the image. At a 2 cm pixel size that is a one-centimeter difference, but at coarser resolutions it can matter when you overlay survey data.
The negative number on line 4. Image rows count downward from the top, while map northings count upward. Esri explains that this is why the fourth line is negative for a normal north-up image. A positive value there flips the image upside down.
A worked example
The Ordnance Survey publishes a real file, SX99.tfw, for the raster SX99.TIF. It contains these six values: 2.5, 0, 0, -2.5, 290001.25, 99998.75. Read it line by line: each pixel is 2.5 meters wide and tall, there is no rotation, and the center of the upper-left pixel sits at easting 290001.25 and northing 99998.75 in the British National Grid, per the Ordnance Survey’s example.
Now translate that to a drone job. An orthomosaic captured at roughly 2 cm per pixel would show a first line near 0.02 and a fourth line near -0.02. The last two lines would be much larger numbers, in meters if your project uses a projected system such as a UTM zone or a state plane system, or in degrees if it uses latitude and longitude. If you see a pixel size like 0.00000018, your data is probably in degrees, which is a quick clue about the coordinate system.
The key point: the file says how pixels map to coordinates. It does not say which coordinate system those coordinates belong to.

What a TFW does not contain
A TFW does not hold coordinate reference system (CRS) information. That is the single most useful fact for troubleshooting. GIS tools such as Mapit GIS either ask you to enter the EPSG code (a numeric ID for a coordinate system) or look for a companion .prj file that carries it.
So a complete world-file deliverable usually looks like this:
- site_ortho.tif: the image
- site_ortho.tfw: the six lines
- site_ortho.prj: the coordinate system definition
If you send a client only the first two, you are asking them to guess the CRS. Guessing is how a building ends up a few hundred feet from its parcel.
Some TFW files also come with a special sibling. When a transformation cannot be expressed as a standard world file, Esri writes an approximate affine transformation to a .tfwx file, with an x added to the extension. If you see one, keep it with the rest of the set.
TFW versus GeoTIFF
A GeoTIFF is a TIFF with the georeferencing stored inside the file itself, so there is no sidecar to lose. A TIFF plus TFW keeps the same information outside. Both are common, and many delivery workflows produce one or the other.
When both exist, software must pick one. The GDAL documentation states that if no georeferencing is found inside the TIFF, GDAL looks for a world file with the extension .tfw, .tifw or .wld. Its default source order checks embedded GeoTIFF tags before the world file, and you can change that order with the GDAL_GEOREF_SOURCES option. Mapit GIS also gives embedded tags priority.
The practical rule: if a map looks wrong and a file pair carries both, check which one the software is reading.
If you just want to look at a GeoTIFF, our free online GeoTIFF viewer runs in the browser with no upload. For a plain-language definition of the image these files usually describe, see our explainer on what an orthomosaic is.

How to open a TFW file
You do not open a TFW on its own. You open the image, and the software reads the TFW automatically.
Step 1: Put the pair in one folder
The .tif and .tfw need the same base name and the same directory. The Manitoba Land Inventory’s guidance says the viewer looks for a world file with the same name when no coordinates are embedded in the TIF, and that the world files must be in the same directory as the orthophotos.
Where it goes wrong: renaming the image without renaming the TFW, or downloading files from a portal into different folders.
Step 2: Add the .tif, not the .tfw
In QGIS, add the TIFF as a raster layer. The Science On a Sphere QGIS tutorial from NOAA says to add the .tif and choose the CRS when prompted. If you add the .tfw, nothing loads, because it is only text.
Step 3: Set the coordinate system
Because the TFW has no CRS, you choose it. Use the one in the project documents, the .prj file, or the drone processing report. Get this wrong and the image appears in the wrong place or not at all.
Step 4: In CAD, attach the image as a raster
In MicroStation, the FHWA’s guide for georeferenced TIFFs (updated March 2024) says to attach the raster through Raster Manager, keep the sister file in the same directory, and set Geo Priority to Sister File. Only the parent raster image is attached, not the .tfw. Bentley’s own FAQ describes the same three cases: no georeference attaches at origin 0,0, header georeferencing uses Raster Header priority, and a TIF with a world file can use Sister Files priority.
Step 5: Verify against a known point
Zoom to a surveyed control point or a building corner and confirm the offset. Small datum differences are hard to spot by eye against aerial photos. One set of QGIS notes for landscape architects points out that the GDA94 and GDA2020 datums in Perth differ by about 1.8 m, which is easy to miss visually. The same logic applies to NAD83 realizations and other datums in the US.
Creating a TFW from a GeoTIFF
Sometimes a CAD team or an older tool needs the sidecar, and you only have a GeoTIFF. Two common routes:
- GDAL: Oracle’s documentation shows the creation option TFW=YES in gdal_translate, which writes a world file next to the output TIFF.
- QGIS: the same notes describe using Warp or Save As with the creation option TFW = YES, producing a tif plus .tfw that loads into AutoCAD through the GEOREFIMG plugin. The reason is that DWG and DXF files carry no CRS information, so the pair is the bridge.
Generate the file once, store it with the original, and record the CRS in your delivery notes.
Why the map lands in the wrong place
Work down this list in order. Most problems are on it.
- No CRS assigned. The numbers are right, but the software does not know their units. Assign the correct CRS.
- Wrong CRS assigned. The image shows up offset, stretched or far away. Compare against the .prj or the project report.
- Separated or renamed files. The software cannot find the TFW and places the image at 0,0, as Bentley’s FAQ describes.
- Conflicting sources. Embedded tags win over the world file in many tools, per the GDAL and Mapit GIS documentation above.
- Flipped image. Line 4 is positive when it should be negative.
- Edited by hand. A stray comma or a missing line breaks the six-line structure.
Why this matters for site teams
For a drone provider, a deliverable is only as good as the way the client can use it. A client who drags a loose .tif and .tfw into a CAD file and gets the wrong coordinates calls you, not the software vendor.
For a construction firm tracking progress, comparing last month’s orthomosaic with this month’s only works when both are placed consistently. For a property manager, an organized record by property and date is the point, not a folder of mystery files.
These are file-management problems as much as GIS problems. They go away when each capture lives in one place, tied to its site and date, and the client views it in a browser instead of assembling files.
Perspective
We see the TFW as a good example of why aerial data needs structure. It is a clever, tiny format, six numbers that make an image a map, but it depends on three things staying true: the files stay together, the names match, and someone remembers the coordinate system.
That is a lot to ask of a shared folder or a generic file-sharing link. Our view is that drone data should be organized by property, site and date from the start, so the map, the point cloud and the history of a site sit together and open on a map.
DataDelivery was designed around that workflow: map-based and timeline browsing, orthomosaic and point cloud processing, annotations, reports and shareable client portals, all under the user’s own brand. There are no per-seat fees and clients do not need accounts to view what you share.
When the delivery is organized, the question of which sidecar goes with which image stops being your client’s problem.
the author
Deliver orthomosaics without the file juggling
DataDelivery handles orthomosaic and point cloud generation inside the platform, so you do not need separate image processing software, and it organizes results by site and date for easy comparison over time. Plans are self-serve and scale with usage limits for jobs, processing runs and storage:
| Plan | Monthly | Yearly |
|---|---|---|
| Starter | $12.99 | $129 |
| Basic | $29.99 | $299.99 |
| Premium | $79.99 | $799.99 |
| Enterprise | $199.99 | $1,999.99 |

See the details on the DataDelivery pricing page. If you need the flight as well, Turnkey Capture is available per job through our main site. To see how clients receive work, read our guides on sharing orthomosaics with clients and viewing your deliverables.
FAQ
What is a TFW file used for?
It georeferences a TIFF image. The six numbers inside tell GIS and CAD software the pixel size, rotation and map position of the image, so the TIFF lines up with other spatial data.
Can I open a TFW file on its own?
You can read it in any text editor, but it only does something when paired with its TIFF. Open the .tif in your GIS or CAD software and keep the .tfw in the same folder with the same base name.
Does a TFW file include the coordinate system?
No. It stores only the six transformation values. The coordinate system comes from a companion .prj file or from the EPSG code you choose when the software prompts you.
What is the difference between TFW, TIFW and WLD?
They are all world files for raster images. The TFW and TIFW extensions pair with .tif files, and GDAL also accepts a .wld extension when it looks for georeferencing.
Do I need a TFW if I have a GeoTIFF?
Usually not, since a GeoTIFF stores its georeferencing internally. A TFW is helpful when a CAD or older tool expects a sidecar file, and you can create one from a GeoTIFF with GDAL or QGIS.
Sources
- World files for raster datasets, ArcGIS Pro documentation
- A sample world file, USGS
- Georeferencing, OS Download Products documentation
- GeoTIFF and Georeferenced Images as Offline Maps, Mapit GIS
- GTiff GeoTIFF File Format, GDAL documentation
- Geotiff and TFW explanation, Manitoba Land Inventory
- Making a Base Map, NOAA Science On a Sphere
- Geo-Referenced TIFF, FHWA
- Raster Manager in MicroStation V8i, Bentley
- Loading Raster Data, Oracle Database documentation
- QGIS notes, August 2023