Back

Save Editing Tools

A complete toolkit for decrypting, editing, and managing your Borderlands 4 save files. Built in Rust for speed and reliability.

Download

What You Can Do

Interactive Editing

Open save files directly in your favorite editor. Changes are automatically encrypted and saved back.

bl4 edit -i 1.sav

Query Save Data

Inspect character stats, currencies, experience, and any other save data with simple commands.

bl4 get -i 1.sav --level

Modify Values

Set cash, eridium, character level, experience points, and more with precise path-based commands.

bl4 set -i 1.sav "state.currencies.cash" 999999

Decrypt & Encrypt

Export saves to YAML for manual editing or version control. Re-encrypt when you're done.

bl4 decrypt -i 1.sav -o save.yaml

Automatic Backups

Hash-based backup system preserves your original saves. Never lose progress due to a bad edit.

bl4 edit -i 1.sav --backup

Getting Started

1

Configure Your Steam ID

Your Steam ID is used to derive the encryption key for your save files. Find it in your Steam account page.

bl4 configure --steam-id 76561197960521364
2

Locate Your Saves

Save files are located in your Documents folder under the Borderlands 4 save directory.

~/Documents/My Games/Borderlands 4/Saved/SaveGames/<steamid>/Profiles/client/
3

Start Editing

Open a save file in your editor, make changes, save, and the tool handles encryption automatically.

bl4 edit -i 1.sav

For Developers

The bl4 library is available as a Rust crate and WebAssembly module for building your own tools.

Rust

cargo add bl4

JavaScript / TypeScript

npm install bl4
View API Documentation