Open LSF files in your browser
The binary resources of Baldur's Gate 3 and Divinity: Original Sin 2, like items, characters and levels. Open one right here as a tree. Nothing leaves your device.
Or drop it anywhere on this page
What you'll see
Your file opens as a tree, its first levels unfolded on a page as wide as a book.
- Fold and unfold • Files of any size
- Search keys and values • Every match counted
- Tree, Table or Text • Show shape
- Export • Save in another form, or just a part
About LSF
Larian's games keep their data as resources: regions of nodes, each with typed attributes, saved as text (LSX) or binary (LSF). Baldur's Gate 3's and Divinity: Original Sin 2's items, characters and levels are made of them, packed in the games' PAK files.
An LSF is a header with its version and the engine's, then four sections, names, nodes, attributes and values, each stored or packed with zlib, LZ4 or Zstandard. Attributes are typed: numbers, strings, GUIDs, vectors and matrices, and translated strings that point into the game's language files.
Filepeek unpacks the sections and shows the regions as a tree, each node with its attributes and their types as LSX writes them, and the top names the game and the engine it was written by.
Larian resource
.lsf
Format
- MIME type
- application/octet-stream
- Made by
- Larian Studios
Inside the file
- Header
- LSOF, its version and the engine's
- Sections
- Names, nodes, attributes and values
- Packing
- zlib, LZ4 or Zstandard
- Games
- Divinity: Original Sin 2, Baldur's Gate 3
Opens in every browser
Filepeek opens an LSF as a tree in Chrome, Edge, Firefox and Safari. On their own, browsers only download it.
- YouChromeOpens through Filepeek
- YouEdgeOpens through Filepeek
- YouFirefoxOpens through Filepeek
- YouSafariOpens through Filepeek
Apps that open LSF
- WindowsLSLib's ConverterApp
- MacNo app opens it
- iPhone and iPadNo app opens it
- AndroidNo app opens it
Questions
What's the difference between LSF and LSX?
They hold the same resources: LSX as XML, which a text editor opens, and LSF in binary, which the games load faster. Filepeek shows an LSF as LSX's tree of nodes and attributes.
Where are a game's LSF files?
Inside its PAK archives. Open the PAK here, and each LSF opens from its list.