DeveloperFree to use

Runs in your browser. No file uploads for processing. Privacy details

KTX2 Mip Range Inspector

Check a KTX2 file’s declared mip offsets, exact byte ranges and out-of-file or overlapping sections. No decode or upload.

Loading tool...

How to check a KTX2 texture’s declared mip ranges

  1. Choose your .ktx2 file

    The browser reads the fixed header and level index, not texture pixels or metadata contents.

  2. Compare the offsets and stored sizes

    For example, mip 0 starting at byte 168 with 64 stored bytes occupies bytes 168–231 inclusive. A file only 231 bytes long is one byte short.

  3. Save the report

    Download exact decimal offsets as JSON. The report excludes the file name, texture pixels and metadata text.

Use cases

  • Check whether a texture export got truncated in a build artifact.
  • Compare declared mip offsets to a range-based asset reader.
  • Share a structural handoff report without sending the texture.

Limits and privacy

  • KTX2 only. KTX1 and standalone Basis are not supported.
  • Checks declared ranges against the file length and each other, not the validity of the compressed data, metadata contents, or engine compatibility.
  • Reads at most 848 bytes, with no fixed app file-size limit; browser and device file limits still apply.

The tool processes inputs in your browser. File processing and site analytics are separate.

Frequently asked questions

Can I check the GLB that references my KTX2 texture?

This inspector reads a standalone KTX2 header and mip index. Use 3D Import Doctor to check the separate GLB container and its embedded resource declarations.

Why does the range include the first and last bytes?

A byte request is inclusive at both ends. The report also gives the exclusive end for APIs that use start and end offsets.

Does a clean result mean my engine can decode the texture?

No. Run Khronos KTX validation or test in your engine for format and decoder compatibility.

Do you upload the texture or make requests for the reported ranges?

No. The report is computed in the browser. The tool never fetches the ranges or sends your file.

Related tools