You should be able to extract the workflow json simply by copy-pasting it.
But you can also spin up a local version of n8n and move the database to your n8n directory (.n8n/) or use the env option to set the home path to where the database is.
You could then use the CLI to export your workflows.