# JP2 — JPEG 2000 (JP2/J2K)

> JP2 (JPEG 2000 (JP2/J2K)): Wavelet-based image compression standard (ISO/IEC 15444) supporting lossy and lossless modes, used for orthophotos and satellite imagery. Specs, software and free sample files; convert JP2 to 50 formats online.

- Page: https://beta.mygeodata.cloud/formats/jp2



## What is a JP2 file?

JPEG 2000 is an image compression standard developed by the Joint Photographic Experts Group and published as ISO/IEC 15444. It uses wavelet-based compression in either lossless or lossy mode. The .jp2 file format wraps the codestream in a box structure, while .j2k denotes a raw codestream without the boxes. It supports grayscale, RGB and multiband images, and bit depths above 8 bits such as 12 and 16 bits. Its multi-resolution design allows efficient access to reduced-resolution views and image regions.

In GIS it is widely used to distribute orthophotos and satellite imagery, for example Sentinel-2 products. Georeferencing can be embedded via GeoJP2 (a GeoTIFF-style box) or GMLJP2, the OGC encoding that uses GML, or supplied by world files (.j2w). Decoding large files can be computationally demanding. Support for specific profiles and metadata boxes also varies between software libraries.

JP2 files usually come from satellite data providers, aerial survey companies and national mapping agencies that distribute orthophotos and imagery archives. Before using one, check whether georeferencing is embedded (GeoJP2 or GMLJP2) or supplied separately as a world file. Also check the bit depth and whether the compression is lossy. Large files can decode slowly, and metadata support differs between software libraries.

### Technical details

| | |
|---|---|
| Full name | JPEG 2000 (JP2/J2K) |
| Data type | Raster · Image & imagery |
| File extension | .jp2, .j2k, .jpf |
| Files | Single file |
| Media type | — |
| Bands | Gray, RGB, multi-band; optional alpha. |
| Pixel types | 8/12/16-bit unsigned, sometimes float (profile-dependent) |
| Compression | JPEG 2000 (lossy or lossless) |
| Coordinate system | Any (georeferenced) |
| Converter support | Read & write |
| Typical software | QGIS, ArcGIS Pro, GDAL/OGR, Global Mapper, ERDAS IMAGINE, ENVI |
| Specification | https://jpeg.org/jpeg2000/ |

### Specifications & references

- https://jpeg.org/jpeg2000/
- https://gdal.org/en/stable/drivers/raster/jp2openjpeg.html

### Sample JP2 files — free download

- [Sentinel-2 true colour (10 m)](https://beta.mygeodata.cloud/static/landing/samples/v1/jpeg_2000/st-helena-sentinel2-rgb.jp2) — Sentinel-2 L2A true-colour image of Saint Helena from 20 April 2024 (S2A_29LRC_20240420_0_L2A), 8-bit RGB with a contrast stretch, 10 m pixels (1812×1524), UTM zone 30S. Lossy JPEG 2000 with GeoJP2 and GMLJP2 georeferencing. (1.6 MB, EPSG:32730)
- [Sentinel-2 multispectral (lossless)](https://beta.mygeodata.cloud/static/landing/samples/v1/jpeg_2000/st-helena-sentinel2-bands.jp2) — Six Sentinel-2 L2A surface-reflectance bands of Saint Helena (B02 blue, B03 green, B04 red, B08 near infrared, B11 and B12 shortwave infrared) at 20 m, UInt16, reflectance = DN / 10000. Lossless (reversible) JPEG 2000. (2.3 MB, EPSG:32730)

### Convert JP2 to other formats

- [JP2 to JPG](https://beta.mygeodata.cloud/converter/jp2-to-jpg)
- [JP2 to TIF](https://beta.mygeodata.cloud/converter/jp2-to-tif)
- [JP2 to PNG](https://beta.mygeodata.cloud/converter/jp2-to-png)
- [JP2 to GeoPDF raster](https://beta.mygeodata.cloud/converter/jp2-to-geopdf-raster)
- [JP2 to HFA](https://beta.mygeodata.cloud/converter/jp2-to-hfa)
- [JP2 to KMZ raster](https://beta.mygeodata.cloud/converter/jp2-to-kmz-raster)
- [JP2 to GRD](https://beta.mygeodata.cloud/converter/jp2-to-grd)
- [JP2 to MBTiles raster](https://beta.mygeodata.cloud/converter/jp2-to-mbtiles-raster)
- [JP2 to BIL](https://beta.mygeodata.cloud/converter/jp2-to-bil)
- [JP2 to DEM](https://beta.mygeodata.cloud/converter/jp2-to-dem)
- [JP2 to XYZ](https://beta.mygeodata.cloud/converter/jp2-to-xyz)
- [JP2 to GPKG raster](https://beta.mygeodata.cloud/converter/jp2-to-gpkg-raster)
- [JP2 to ENVI](https://beta.mygeodata.cloud/converter/jp2-to-envi)
- [JP2 to RST](https://beta.mygeodata.cloud/converter/jp2-to-rst)
- [JP2 to GIF](https://beta.mygeodata.cloud/converter/jp2-to-gif)
- [JP2 to BMP](https://beta.mygeodata.cloud/converter/jp2-to-bmp)
- [JP2 to netCDF raster](https://beta.mygeodata.cloud/converter/jp2-to-netcdf-raster)
- [JP2 to AAIGrid](https://beta.mygeodata.cloud/converter/jp2-to-aaigrid)

## Frequently asked questions

### What is the difference between JP2 and J2K files?

A .jp2 file wraps the JPEG 2000 codestream in a box structure that can hold metadata such as georeferencing. A .j2k file is a raw codestream without these boxes, so spatial reference information must come from a separate file such as a world file.

### Why does my JP2 file open without a coordinate system or in the wrong place?

The file may lack an embedded GeoJP2 or GMLJP2 box, or the software may not read that metadata. Try supplying a world file (.j2w) or assigning the coordinate system manually, and check how the software library handles the metadata boxes.

### Is JPEG 2000 compression lossy or lossless?

Both modes exist in the standard. Lossless keeps the original pixel values, while lossy gives smaller files but alters the values slightly. For analysis such as multiband processing, check which mode the provider used.

### What is a JP2 file?

JPEG 2000 is an image compression standard developed by the Joint Photographic Experts Group and published as ISO/IEC 15444. It uses wavelet-based compression in either lossless or lossy mode. The .jp2 file format wraps the codestream in a box structure, while .j2k denotes a raw codestream without the boxes. It supports grayscale, RGB and multiband images, and bit depths above 8 bits such as 12 and 16 bits. Its multi-resolution design allows efficient access to reduced-resolution views and image regions.

In GIS it is widely used to distribute orthophotos and satellite imagery, for example Sentinel-2 products. Georeferencing can be embedded via GeoJP2 (a GeoTIFF-style box) or GMLJP2, the OGC encoding that uses GML, or supplied by world files (.j2w). Decoding large files can be computationally demanding. Support for specific profiles and metadata boxes also varies between software libraries.

### How do I open a JP2 file?

JP2 files can be opened in QGIS, ArcGIS Pro, GDAL/OGR, Global Mapper and ERDAS IMAGINE. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert JP2 to?

Popular conversions are JPG, TIF, PNG, GeoPDF raster, HFA and KMZ raster. In total the Converter writes JP2 data to 50 formats.

### How do I create a JP2 file?

Convert existing data to JP2 — for example from JPG, PNG, TIF, KMZ raster and GeoPDF raster. Upload the file, choose JP2 as output and download the result.

