Related tools
- Dice & Random PickerRoll dice from standard notation, flip coins, pick random items from a list, or split names into randomized even teams.
- Bingo Board MakerTurns a pasted list of items into randomized, printable bingo boards, with a seed for repeatable sets.
- Sudoku Generator and SolverGenerate puzzles with a unique solution at any difficulty, or paste one in to solve it and get step by step hints.
- Escape / UnescapeEscape or unescape text in over thirty formats, from JSON, HTML, XML and URL to C, Python, shell, SQL, base64, ROT13, Morse and punycode.
What it does
Turns a Factorio blueprint string back into the JSON the game actually stores, and turns edited JSON back into a string the game accepts. The inspect view reads a blueprint or a whole blueprint book, recursing through nested books, and reports the label, the game version packed into the version number, every entity counted by name, tiles, icons, item requests, wire and circuit connection counts, and the bounding box the build covers. The repair pass rescues strings that arrived mangled, and the strip pass deletes the trees, rocks, item requests or tiles you did not mean to copy.
How to use it
Paste a blueprint string starting with 0 and leave the operation on Inspect for a readable summary. Switch to Show raw JSON to see the full structure, edit it, then paste it back with Re-encode to get a fresh string. If a string will not decode because it came through a chat client, choose Repair: it removes line breaks and URL encoding, cuts trailing junk, restores a missing version byte, and prints exactly what it changed. Choose Strip with the three toggles to clean a build before sharing it.
Why this one
Most Factorio blueprint decoders are abandoned forum projects that choke on blueprint books, show you a wall of unformatted JSON, and offer no way back to a valid string. This one decodes in your browser, recurses through nested books, explains what the packed version number means, re-encodes strings the game accepts, and repairs the mangling that chat clients inflict on long strings, all with the browser's own compression engine: your files and inputs never leave your device.
FAQ
- What is actually inside a blueprint string?
- A leading version byte, which has been the character 0 for every export since Factorio 0.15, followed by base64 of a zlib deflate stream whose contents are a JSON object with a blueprint or blueprint_book key. This tool undoes exactly those three steps, and redoes them when you re-encode.
- Why did my blueprint string break when someone pasted it to me?
- Chat clients and forums mangle very long strings. They wrap them across lines, turn plus signs into %2B when the string travels through a link, append a stray character or a stray word, and sometimes drop the leading 0. The Repair operation undoes those four and tells you exactly which ones it found. If characters were lost from the middle, or a plus sign was replaced by a plain space, the missing data is gone and you need the string again from the source.
- Is my blueprint uploaded anywhere?
- No. The decode, repair and re-encode all run in your browser using its built-in compression engine, and your files and inputs never leave your device.
Keyboard shortcuts: press ? anywhere on this page to see them.