Because this file is written in a binary format (NBT), you cannot simply open it with Notepad or TextEdit and expect to read it. Opening it in a text editor will result in a garbled mess of unreadable characters. To make changes, you need a specialized .
: Specifically designed for Bedrock (formerly Pocket Edition) worlds, allowing you to convert world types and edit local player data. Common Edits You Can Make level.dat editor minecraft
While MCEdit Unified is no longer updated for 1.13+, older versions can still edit level.dat from 1.12.2 worlds. It is famous for its 3D view, but for pure level.dat editing, use NBTExplorer. Because this file is written in a binary