unkoin
untanglePaste a Koin crash log to extract the dependency resolution chain.
Koin Crash Log Parser
unkoin is a free online tool that parses Koin dependency injection crash logs and visualizes the dependency resolution chain as a clean tree. It works with Android, Kotlin Multiplatform (KMM), and Kotlin/Native iOS stacktraces.
Supported error types
- InstanceCreationException — "Could not create instance for [Singleton/Factory: ...]". Nested chains are fully extracted.
- NoDefinitionFoundException (Koin 3.x/4.x) — "No definition found for type '...'". Shows the missing dependency at the end of the chain.
- NoBeanDefFoundException (Koin 2.x) — The older equivalent of NoDefinitionFoundException.
- Root cause exceptions — NullPointerException, JSONException, IllegalArgumentException, and other non-Koin exceptions that are the actual root cause of the chain.
How it works
Paste your full crash log or stacktrace into the text area and click Parse. unkoin scans for Koin-specific exception patterns, extracts each level of the dependency chain, and renders it as an indented tree showing the class name, scope (Singleton, Factory), and any interface bindings. The final node highlights the root cause — whether it's a missing definition or a runtime exception.
Works with all Koin formats
Different versions of Koin use different log formats. unkoin handles them all: [Factory:'com.example.MyClass'], [type:Factory,class:'com.example.MyClass'], [type:Singleton,primary_type:'com.example.MyClass'], and named definitions like [type:Factory,name:'myModule',primary_type:'com.example.MyClass'].