A simple CLI tool for converting Valve VDF (text or binary) to JSON and back.
Supports:
- Text VDF
- Binary VDF (e.g. Steam
shortcuts.vdf) - File input
- Stdin (pipe input)
- JSON → VDF (text or binary)
- VDF → JSON
pip install -r requirements.txt
chmod +x vdfcli
sudo mv vdfcli /usr/local/bin/
-
From file:
vdfcli to-json shortcuts.vdf -
From stdin (pipe)
cat shortcuts.vdf | vdfcli to-json -
Compact output
vdfcli to-json -c shortcuts.vdf -
Convert JSON → Text VDF
vdfcli to-vdf file.json -
From stdin:
cat file.json | vdfcli to-vdf -
Convert JSON → Binary VDF
vdfcli to-vdf -b file.json > shortcuts.vdf -
Modify with jq
vdfcli to-json shortcuts.vdf | jq '.shortcuts'
This tool is intended for:
- Inspecting Valve VDF files
- Automating configuration management
- Security research and client behavior analysis
- Educational purposes
This tool does NOT:
- Bypass Steam licensing
- Grant ownership of games
- Circumvent DRM
- Modify Steam servers
Users are responsible for how they use this software.
When modifying Steam configuration files:
- Always fully exit Steam before editing files.
- Always back up original files.
- Incorrect modifications may corrupt local configuration.
MIT