You might consider the <u>[CLI shell's .dump command](https://sqlite.org/cli.html#dump)</u> to be that handy utility.