Unity PlayerPrefs Decoder
Unity stores PlayerPrefs in plain text with no encryption. This reads the file from any platform and lays out every key and value in a table.
Where PlayerPrefs live
- Windows — the registry, under HKCU\Software\[company]\[product]. Export that key to a .reg file and drop it here.
- macOS — ~/Library/Preferences/unity.[company].[product].plist
- Android — /data/data/[package]/shared_prefs/[package].v2.playerprefs.xml (needs root)
- Linux — ~/.config/unity3d/[company]/[product]/prefs
Intended for your own single-player save files. Editing saves in multiplayer or online games breaks their terms of service and can get your account banned. Always keep a backup of the original file before you change anything.
Unity PlayerPrefs are stored in plain text with no encryption at all, which is why they are so easy to read. On Windows the key names are hashed and suffixed with a number, so they will not exactly match the names used in the game's code.
Frequently Asked Questions
Where are PlayerPrefs stored?
It depends on the platform. Windows uses the registry under HKCU\Software\[company]\[product]; macOS uses a plist in ~/Library/Preferences; Android uses a SharedPreferences XML file; Linux uses ~/.config/unity3d. The panel on the page lists the exact paths.
How do I read Windows PlayerPrefs?
They are registry values rather than a file, so open regedit, find the key under HKCU\Software, right-click it and choose Export. Drop the resulting .reg file here.
Why do the key names look mangled on Windows?
Unity appends a hash of the key name to keep registry entries unique, so playerGold becomes something like playerGold_h1234567890. The readable part before the underscore is the original name.
My file is a binary plist and will not open. What do I do?
Convert it to XML first with plutil -convert xml1 yourfile.plist on macOS, then upload the converted file. Binary plists are a compact Apple format that this tool does not parse.
Are PlayerPrefs encrypted?
No, not at all. Unity stores them as plain values, which is why developers are advised never to keep anything sensitive there. It is also why reading them is straightforward.