DB Pro Now Supports Val Town
Val Town makes it easy to ship code. Write a function, hit deploy, and you have a live API endpoint, cron job, or AI agent running in seconds. Every account comes with a built-in SQLite database, which means your vals can store real data from day one. DB Pro now supports Val Town as a database provider, giving you a full desktop client for your Val Town SQLite databases.
What is Val Town
Val Town is a serverless JavaScript and TypeScript platform. You write small programs called vals, and Val Town handles the deployment, hosting, and infrastructure. Vals can be HTTP endpoints, scheduled cron jobs, email handlers, or AI-powered bots. The platform has a strong developer community and is used by engineers building everything from internal tools to side projects.
Every Val Town account comes with a SQLite database powered by Turso. You interact with it through Val Town's std/sqlite module. It's the default way to persist data in your vals, whether that's user records, analytics events, logs, or application state. Free accounts get 10MB of storage, and Pro accounts get 1GB.
The database is one of Val Town's best features. It turns a stateless function platform into something you can build real applications on.
Why a desktop client
Val Town gives you a SQLite viewer in the dashboard, which is great for quick lookups and running queries. DB Pro adds to that experience with things like autocomplete, a visual schema browser, inline row editing, CSV and JSON exports, and advanced filtering. If you already use DB Pro for your Postgres or MySQL databases, you can now keep your Val Town data in the same app alongside everything else.
Connecting DB Pro to Val Town
Val Town shows up as a provider in DB Pro alongside Supabase, Neon, Turso, and PlanetScale.
To connect:
- Generate an API token in your Val Town account settings
- Open DB Pro and select Val Town as your provider
- Paste your token
That's it. Your Val Town database appears in the sidebar, ready to browse.
What you can do with it
Browse your tables. See every table your vals have created, with row counts and column info. No more guessing what schema your val is using or writing a quick val to check.
Run SQL queries. The full DB Pro query editor with syntax highlighting, autocomplete, and results in a sortable table. Write complex queries against your Val Town data the same way you would against any other database.
View and edit data. Click into any row to inspect or change values. Need to fix a bad record, update a flag, or delete a test row? Do it directly instead of writing a throwaway val.
Explore your schema. See table structures, column types, and indexes in the sidebar. When you're building a new val and can't remember your column names, the schema browser is faster than checking your code.
Export your data. Pull your Val Town data out in CSV, JSON, or SQL format. Useful for backups, analysis in another tool, or migrating to a different database.
Get started
DB Pro supports Val Town on macOS, Windows, and Linux. If you already use DB Pro, add your Val Town connection and you're set. If you're new to DB Pro, download it and try it free.
Use code save20 for 20% off.
Have questions or feedback? Join our Discord and let us know how you're using Val Town with DB Pro.
Keep Reading
Best Client Database Software for Small Business in 2026
A practical guide to client database software for small businesses. Covers free and paid options, from simple spreadsheets to full CRMs.
DB Pro v1.3.0: Database Creation, Multi-Query Editor & PlanetScale Vitess
Create databases directly from the sidebar, execute multiple queries at once, and connect to PlanetScale Vitess.