Convert GeoTIFF to image tiles with QGIS

If you have GeoTIFF files that you would like to import and label, you will need to convert them into XYZ tiles first.

To generate XYZ image tiles using the QGIS tool, follow these steps:

  1. Download and install QGIS.

  2. Open QGIS. From the Plugins menu at the top, install Lat Lon Tools.

  3. Open your GeoTIFF file in QGIS. The easiest way to do this is to find the file Finder or Explorer, right-click on the image, and select Open with QGIS.

  4. From the Processing menu at the top, click Toolbox. This will open the Processing toolbox panel.

  5. In the Processing Toolbox, search for Generate XYZ tiles (Directory) and double click to open the Generate XYZ tiles window.

  6. Ensure the entire TIFF image showing in the view panel.

  7. In the Generate XYZ Tiles (Directory) window, do the following:

    a. For Extent, choose Use Map Canvas Extent.

    b. Select the Minimum zoom and Maximum zoom. We suggest starting with values of min: 10 and max: 20. depending on the size of your image, this may need to be adjusted and re-tiled.

    c. For Tile format, choose PNG.

    d. Select your Output directory and Output html directory.

    e. Select Run to process your tiles.

  8. Upload your image files to a cloud environment (AWS S3, Google Cloud Services, etc). Upload all necessary folders corresponding to zoom levels.

  9. Create your import file. See the sections below for sample JSON imports.

  10. If you choose to secure your URLs with IP whitelisting, make sure to include the Labelbox backend ( so the image tiles can be rendered in the Editor. Contact Labelbox support for additional information on IP whitelisting.

  11. Go to and drag and drop your JSON file to import.

Did this page help you?