openjp2 playground

Decode and encode JPEG 2000 (.jp2 / .j2k) entirely in the browser with the pure-Rust OpenJPEG port — no server round-trips.

Decode

Drop a .jp2 / .j2k codestream here, or click to browse. Multi-tile codestreams decode in parallel.

drop a JP2/J2K file
resolution?
advanced

Encode

Drop any image the browser can read (PNG, JPEG, WebP, ...) to encode it to JPEG 2000.

drop an image
advanced

Explorer

Byte-level view of the loaded codestream: every byte is labelled with the part of the file it belongs to — click one for details. The truncation slider cuts the codestream and re-decodes it live into the preview (lenient mode tolerates truncated files).

decode a file first