Documentation
Getting started
Everything you need to go from download to your first query — and the features worth knowing about once you're there.
1. Install
Download ByteRunner Setup.exe (v1.0.111, November 10, 2026) and run it. There's nothing else to install — ByteRunner bundles its own JDK 21 runtime, so compiling, running, and debugging all work out of the box.
The installers are code-signed as "Christian Oleson", so Windows shows a verified publisher. SmartScreen may still show a caution on a brand-new version until the signature builds reputation — if so, choose More info → Run anyway. Only download ByteRunner from this site or the ByteRunner-releases GitHub repo.
2. Your first query
Pick a language in the toolbar (Kotlin, Java, Groovy, Scala, or SQL), type a few lines, and press
F5. No main(), no project — statements just run. Three query modes are
available in the toolbar: Expression (one expression, its value is the
result), Statements (the default — a sequence of statements), and
Program (a full program with main()).
3. See results with dump()
dump(value) — or value.dump() — is how anything becomes visible.
It's available in every query without imports:
val people = listOf(Person("Alice", 30), Person("Bob", 25))
dump(people, "People") // a sortable table with a column per property
Collections render as sortable tables, objects as expandable trees, and JSON, XML, and images render natively. An expression query's final value is dumped automatically.
4. Learn from the samples
Help → Samples… (or Browse Samples on the welcome screen) opens 28 short queries, each teaching one thing: Kotlin's collections, null safety and dates, Java streams and records, Groovy, plain SQL from SELECT to window functions, charts and buttons in the results, tests, packages and more. Pick one to read what it teaches, then Open for your own copy in a new tab. The ones that need a database set up the bundled sample database for you.

5. Connect a database Pro
Add a connection in the Explorer sidebar — PostgreSQL, MySQL, MariaDB, SQLite, H2, SQL Server, or DynamoDB — and browse its schema. A small tag beside each connection says what kind it is (PG, MS, LT…). In a query, every table becomes an accessor you can use directly:
Users // SELECT * — rendered as a grid
Users.where { u -> u.age gt 21 } // typed, autocompleted columns
.select { u -> listOf(u.name) }
query("SELECT count(*) FROM Users") // raw SQL when you want it
Autocomplete walks you through a typed query. After u. it lists the table's
columns; after a column's dot, what a condition or a sort is made of: eq,
like, between, inList, isNull,
desc() and the rest, only those that fit the column's type. A query carried on to
the next line, or kept in a val, completes the same way.

Want a playground? Browse Samples on the welcome screen creates a bundled SQLite sample database with a guided tour script. On a DynamoDB connection, right-click it and choose Add Sample Table: ByteRunner creates a small orders table in that DynamoDB (DynamoDB Local works) and opens a tour of Scan, Query, GetItem and PartiQL.
6. Write plain SQL Pro
Choose SQL as the language (or open a .sql file), pick a
connection and press F5. Each statement's result appears in order: rows in a grid,
"3 rows affected" for a change. End statements with ;, or put GO on its
own line. The statements share one connection, so a temporary table made by one is there for
the next; if one fails, the query stops there with its line number. Type a table's name and a
dot for its columns. On DynamoDB, SQL is PartiQL.

7. Debug Pro
Click the editor gutter (or press F9) to set a breakpoint, then start from the Debug menu. Step with F10/F11, watch variables live, and evaluate expressions in the Immediate window while paused.
8. Run tests inline
Declare @Test methods right in a query — JUnit's @Test and
kotlin.test assertions ship with ByteRunner — and press
Alt+Shift+T:

9. Find your way around
Press F12, or Ctrl+click a name, to jump to where it's declared; for
person.name the compiler works out which class person is.
Alt+Left takes you back. Alt+\ lists the query's classes, functions and
properties: type part of a name and press Enter. The Navigate menu has the rest,
including the next error and Ctrl+Tab between recent tabs. F1 on a method or type
opens its documentation in your browser: the JDK's Javadoc for Java classes, the Kotlin
reference for Kotlin's standard library.

10. See what your query compiles to
Query → Show Compiled Code compiles the query without running it and shows each class
it becomes, read back as Java or as bytecode: see what a Kotlin data class, a lambda
or a Groovy closure really turns into. Works for Kotlin, Java and Groovy queries.

11. Benchmark a line
Select some code and press Alt+Shift+B. The selection is warmed up so the JIT has
compiled it, then timed in batches: a Benchmark table shows the mean time per call
with its margin, the median, calls per second and memory allocated per call. Several benchmarks in
one run are compared with the fastest. In code, Util.benchmark("sorted") { xs.sorted() }
does the same.
12. Run Java and Kotlin inside a running application Pro
Query → Attach to Running JVM… lists the Java applications running on your computer.
Pick one, and Java and Kotlin queries run inside it: they see its classes and its live objects,
and dump() shows them in ByteRunner as usual.
dump(OrderService.instance().pendingOrders(), "Stuck orders");
Queries are compiled for that application's own classpath and Java version (8 and later). Stop interrupts the query, never the application, and Detach in the status bar runs queries in ByteRunner again. ByteRunner loads a small agent into the application to do this; it listens only on your computer and answers only ByteRunner.

A Kotlin query works the same way, in an application written in Java or in Kotlin. If the
application has no Kotlin, ByteRunner lends it Kotlin's standard library for the query; if it
has its own, the query uses that, compiled for the application's version of Kotlin.
ByteRunner's own helpers, such as Util and query(), stay in ByteRunner.
OrderService.instance().pendingOrders()
.groupBy { it.customer }
.map { (customer, orders) -> customer to orders.sumOf { it.total } }
.dump("Waiting, by customer")

13. Keep keys out of your queries
Save an API key or a password once in Tools → Secrets… and read it with
Util.secret("github token"). The query can be saved, shared, put in git or shown to an
AI without the key in it. Secrets are encrypted on your PC, and a saved value is never shown again.
14. Run a query from a terminal
The byterunner command runs a saved query without opening the app, so a report or a
cleanup can be a scheduled job or a build step. On Linux it's always installed; on Windows,
install the MSI with ADDTOPATH=1 to put it on your PATH.
byterunner run report.brpad
byterunner run cleanup.kts --mode PROGRAM
byterunner run nightly.sql --connection "Orders DB"
byterunner connections
A .brpad carries its own language, mode and connection; a .kt,
.kts, .java, .groovy, .scala or
.sql file runs as statements in the language its extension names.
--connection takes the name or alias of a connection saved in the app (that needs
Pro), and byterunner connections lists them, never with a password.
dump() output goes to standard output and errors to standard error; the exit code
is 0 when the query ran, 1 when it failed and 2 for a wrong command line. A connection marked
Prod is named on standard error before the query runs. byterunner --help lists
every option.
15. My Extensions
File → Edit My Extensions opens a per-language helper file. Anything you define there — functions, types, constants — is available in every query of that language, no imports needed. Ctrl+S saves; changes apply on your next run.
16. Per-query properties
Press F4 for Query Properties: add namespace imports (like
java.util.*) that apply to every run of that query without writing the import,
and see the query's language, connection, and dependencies at a glance. Saved with the query
in its .brpad file.
Keyboard shortcuts
| F5 | Run the query |
| Shift+F5 | Cancel a running query |
| Ctrl+Shift+F5 | Cancel and Run (stop the query and start it again) |
| Ctrl+F5 | Run Isolated (killable, separate process) |
| Alt+Shift+T | Run Tests — every @Test in the query |
| Alt+Shift+B | Benchmark the selection (or the caret's line) |
| F4 | Query Properties (namespace imports, connection) |
| F1 | Documentation for the name at the caret, in your browser |
| F8 / Ctrl+F8 | Full-screen Results / Results side-by-side |
| Ctrl+R | Show / hide Results (the editor fills the window) |
| Shift+F8 | Show / hide the sidebar |
| F9 | Toggle breakpoint |
| F10 / F11 / Shift+F11 | Step over / into / out |
| Ctrl+F10 | Run to cursor |
| Ctrl+P / Ctrl+Shift+F | Search Scripts (quick-open / content search) |
| Ctrl+, | Preferences |
| Ctrl+N / Ctrl+T / Ctrl+W | New query / new tab / close tab |
| Ctrl+S / Ctrl+Shift+S | Save / Save As |
| F2 | Rename tab |
| F12 / Ctrl+click | Go to Definition |
| Alt+Left / Alt+Right | Back / Forward (also the mouse's side buttons) |
| Alt+\ | Go to Member |
| Ctrl+G | Go to Line |
| Ctrl+Shift+F12 / Ctrl+Shift+F11 | Next / previous error |
| Ctrl+Shift+, / Ctrl+Shift+. | Previous / next function |
| Shift+F6 | Rename the symbol at the caret everywhere it is used |
| Ctrl+F2 / Ctrl+Shift+F2 | Toggle a bookmark on the line / clear all bookmarks |
| Alt+PgDn / Alt+PgUp | Next / previous bookmark |
| Ctrl+Tab | The tab you used last (hold Ctrl and press Tab again to go further back) |
| Ctrl+PgUp / Ctrl+PgDn | Previous / next tab |
| Alt+Shift+W | Go to Tab — every open tab by name |
| Ctrl+Shift+V | Paste as Escaped String (the clipboard as a string literal) |
| Ctrl+D | Duplicate line |
| Alt+Up / Alt+Down | Move line up / down |
| Ctrl+= / Ctrl+- / Ctrl+0 | Editor font size bigger / smaller / reset |
| Alt+W | Toggle word wrap |
Updates
ByteRunner checks this site on startup and tells you when a new version is available — it never installs anything on its own. Help → What's New shows what changed in your version, and the full history is on the releases page.