Skip to main content

ParseDAT Bedrock

A command line utility that reads a Minecraft Bedrock level.dat file (Little-Endian NBT) and outputs the data as JSON.

Usage

parsedat-bedrock /path/to/level.dat --out world.json --pretty
parsedat-bedrock /path/to/level.dat --stdout
parsedat-bedrock /path/to/level.dat --preserve-types --pretty

Features

  • Automatically detect compression algorithm: gzip, zlib, or uncompressed
  • Parse NBT tags (0..12): End, Byte, Short, Int, Long, Float, Double, Byte_Array, String, List, Compound, Int_Array, Long_Array
  • Emits clean JSON values (default)
  • Emits typed JSON if --preserve-types flag is used
  • Validates tag 0 termination (where applicable)
  • No external dependencies

Notes

This script assumes the input file is Bedrock-style NBTLE, opposed to Java’s Big-Endian NBT.

Author

DJ Stomp

License

MIT License. See the LICENSE file for more details.

Metadata

Release files for parsedat-bedrock 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parsedat-bedrock 1.0.0
File Size Uploaded
parsedat_bedrock-1.0.0.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for parsedat-bedrock 1.0.0
File Interpreter ABI Platform
parsedat_bedrock-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / parsedat_bedrock-1.0.0.tar.gz

Download URL parsedat_bedrock-1.0.0.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d0faf52b452aee28f73a5d343e7aa9d885ef1033e381413b23299434d1a7d21d
BLAKE2b-256 checksum
How to use checksums
b56c5e9fcf653f409b32116352456502e6a0353827ca1b3dff11be0d8c7c446e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.3 Linux/6.2.1-PRoot-Distro

Release files / parsedat_bedrock-1.0.0-py3-none-any.whl

Download URL parsedat_bedrock-1.0.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74aaa7c93e54832ec2afb0d97d691b5297a25c5d4874b53c616f70122b450047
BLAKE2b-256 checksum
How to use checksums
434e52cdb40f8a67dd48cb5dfd8470c4a392ef44d20aa520bc3fac90723a4471
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.1 CPython/3.12.3 Linux/6.2.1-PRoot-Distro

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page