Convert UBJSON to JSON
Convert Universal Binary JSON (UBJSON) to regular JSON. Runs entirely in your browser, so your data never leaves your device.
Drop a file here, or click to browse
Files never leave your device
Output
The result appears here as you type.
How to use Convert UBJSON to JSON
- 1. Add your UBJSON file. Drop or browse for a .ubj or .ubjson file, the binary format that mirrors JSON's data model while storing each value with an explicit type marker.
- 2. Pick the output indent. Choose 2 spaces, 4 spaces or tabs for the Indent setting to control how the decoded document is formatted once the binary structure is parsed back into text.
- 3. Copy the decoded JSON. Copy the resulting JSON and read it directly, or use it in your application code, now that the compact binary format has been converted back to plain, readable JSON.
When to use Convert UBJSON to JSON
Convert UBJSON to JSON decodes Universal Binary JSON, the compact binary format some game engines and embedded systems favor over text JSON, into a readable JSON document you can inspect without a UBJSON-aware library.
- Inspecting a game asset file stored as UBJSON. A game engine stores level or asset data as UBJSON for smaller file size, and you want to see the actual values inside a specific asset file as readable JSON.
- Verifying a UBJSON encoder's output. You wrote code that produces UBJSON and want to confirm it encoded a document correctly by decoding the result and comparing it against the expected JSON.
- Migrating data out of a UBJSON-based system. You are moving away from a system that stored its data as UBJSON and need each file converted to JSON as part of the migration.
- Debugging a cross-language UBJSON compatibility issue. Two implementations disagree on how a UBJSON file should decode, and converting it here gives you a reference JSON output to compare against.
Examples
Decode a UBJSON file
Input
data.ubj (24 B binary file)
Output
{
"name": "Ada",
"age": 36
}About the Convert UBJSON to JSON tool
Convert UBJSON to JSON does its work locally, right in the browser. Convert Universal Binary JSON (UBJSON) to regular JSON. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the JSON Tools collection on EditSafely, a set of 90 small, focused JSON utilities that share the same instant, private workspace.
You can shape the output with the Indent setting, and the result refreshes the moment you change it. A worked example further down the page shows exactly what the tool produces for a real input.
Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Is Convert UBJSON to JSON free to use?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Are my files uploaded to a server?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
Which files does Convert UBJSON to JSON accept?
It accepts UBJ files and UBJSON files. There is no file size cap imposed by a server; very large files are limited only by your device's memory.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.