Tile converter
Move tiled datasets between compatible standards.
@loaders.gl/tile-converter provides command-line and JavaScript tools for converting I3S and 3D Tiles data. Use the APIs when conversion is part of an application, or the CLI when it belongs in a build or data-preparation workflow.
The conversion path
Choose a qualified conversion profile.
The converter uses the loaders.gl format implementations at the edges and keeps conversion concerns in one place, whether it runs from a Node.js API or a command-line bundle.
Input
I3S, 3D Tiles or decoded point data
Conversion
Explicit content, feature and spatial policies
Execution
JavaScript API or command line
Output
Authored resources, directories or bounded archives
Detailed guide
Conversion and CLI details
The reference below covers installation, converter APIs, build and bundle instructions, CLI usage, supported features, and format standards.

Installation
For CLI
npm install @loaders.gl/tile-converter@beta
For API
npm install @loaders.gl/core@beta
npm install @loaders.gl/tile-converter@beta
Choose a workflow
| Workflow | Entry point | Current scope |
|---|---|---|
| Default v5 Node CLI (experimental) | tile-converter | Inspect, validate and convert explicitly selected meshes; opt-in complete explicit hierarchy for 3D Tiles/3TZ |
| Portable v5 API | /v5/core and /v5/adapters | Mesh/point processing, declared features and CRS operations, bounded archive output |
| Browser application | Inline conversion app | Inspect, select, convert and download partial SLPK/3TZ collections |
The documentation describes the current repository implementation. Check the installed
package version with npx tile-converter --version before using experimental v5 capabilities.
See the migration table for existing scripts.
Command line
Start with metadata inspection; conversion requires explicit content IDs from the result:
npx tile-converter inspect ./tileset.json
npx tile-converter validate ./tileset.json --resource tile-root-content-0
npx tile-converter convert ./tileset.json --resource tile-root-content-0 --output ./converted.3tz
See the v5 CLI reference for output formats, feature-schema controls, geometric-error policy and protected destinations.
API
Import the v5 API from the package root or the unchanged /v5 alias. The
API reference explains the portable v5 APIs and their Node and
browser subpaths.
Runtime portability
The command-line tools and I3S server require Node.js. V5 core and adapters use portable binary data and run in Chromium and Node.js with application-provided input readers, output sinks and decoder assets.
Conversion support
The supported-feature matrix
distinguishes the legacy CLI from experimental v5 profiles. V5 converts selected static
GLB/B3DM meshes or original-coordinate I3S 3DObject/IntegratedMesh meshes into authored
I3S/SLPK or 3D Tiles/3TZ resources. It preserves supported materials, one PNG/JPEG base-color
map and explicitly mapped Arrow features, with Draco Edge Breaker enabled by default.
Selected decoded points can also be written as PNTS and partial 3TZ collections through the API.
The browser archive example accepts a 3D Tiles URL, an I3S layer URL, or a local/remote SLPK or 3TZ archive and converts selected meshes to either SLPK or 3TZ. It provides metadata inspection, explicit selection, progress, cancellation, download/preview and native file saving where supported. Its limits are 1,000 inspected declarations/nodes, 64 mesh placements, 16 MiB input and decoded-resource budgets, 32 MiB output/archive budgets and 1 cm position rounding. Conversion archives must be at most 16 MiB. Remote archives require HTTP byte ranges and exposed ETag or Last-Modified validators; the inspected identity is checked again during conversion. These limits do not bound total peak memory.
The browser example and default Node workflow produce flat partial collections. To retain explicit 3D Tiles hierarchy/LOD and ADD/REPLACE, select every binary content and opt in to the complete hierarchy profile for 3D Tiles/3TZ output. It supports external document placements, ordered multiple contents and static multiple primitives, within 32 documents, 256 tiles and 64 primitive placements. I3S screen-size LOD, implicit tiling, instancing and unmapped tile/group metadata remain separate work. Feature schemas and CRS/height operations must be declared explicitly. I3S-to-3TZ conversion requires a conservative geometric error in meters. Archive dependencies must stay inside the selected archive; external dependencies are rejected. Indexed reads and decompressed responses have separate input byte gates. See the v5 API guide for exact profiles.
Archive output and storage
createTileConversionArchive packages successfully finalized format resources as indexed
SLPK or 3TZ Blobs. Selecting a container does not convert its geometry or metadata.
For application-owned storage, encodeTileConversionArchiveInBatches streams finalized SLPK/3TZ
resources with consumer-controlled backpressure and cancellation. Finalize storage only after
iteration succeeds and discard partial output on failure. The browser archive example transfers
acknowledged archive chunks from its worker. It can retain Blob parts for download/preview or,
where the native save picker is available, await each file write before requesting the next chunk.
Direct saving collects no archive Blob parts and commits the file only after successful completion;
cancellation before final close aborts the file stream. Neither mode creates a complete archive
buffer in the worker or guarantees a total memory cap. See the v5 application guide.
References
-
The
@loaders.gl/tiles-3d/i3smodule supports loading and traversing Indexed 3d Scene Layer (I3S). -
The
@loaders.gl/tiles-3d/3d-tilesmodule supports loading and traversing 3D Tiles. -
I3S Indexed Scene Layer Specification - The living specification.
-
3D Tiles Specification - The living specification.
-
OGC I3S Indexed Scene Layer Standard - The official standard from OGC, the Open Geospatial Consortium.
-
OGC 3D Tiles Standard - The official standard from OGC, the Open Geospatial Consortium.
Additional build instructions
There are additional ways to perform conversion:
- Tile converter can be run right on a repository branch. It might be helpful if some updates are needed which last release doesn't contain Build instructions.
Attribution
The tile-converter module represents a major development effort and was funded and contributed to loaders.gl by Esri.
MIT License.
TypeScript declarations are provided for the package root, legacy /v4, and the /v5,
/v5/core, /v5/adapters, /v5/browser, and /v5/node entry points.