PrefixHarbor
Official PrefixHarbor website

SQL Formatter Agent for Windows

PrefixHarbor is an autonomous sql beautifier for Windows 10/11, version 2.9.26. This sql formatter reads your .sql files and rewrites their layout, then shows the diff.

Version

2.9.26

Released 2 Nov 2026

Setup

34 MB

Portable .exe is 25 MB

Languages

13

Languages of the app interface

OS

Windows 10/11

x64 architecture support

Privacy

No telemetry

Chats stay on your PC

Feedback

Send feedback

Button inside the app

SQL Formatting

SQL Formatter Agent

This sql formatter runs on Windows 10 and 11, reading your files and rewriting them with real results because version 2.9.26 is current and setup is about 34 MB. It works locally. No telemetry is sent to any provider when you use the app. The agent runs tools itself and shows results in the chat.

01

Format a single query

PrefixHarbor version 2.9.26 uses read_file to load the query from the working folder and applies edit_file to rewrite the layout with proper indentation and line breaks. Format it. The agent improves readability for the entire team during code reviews. You verify the changes by running a test command via the Shell tool. Review the diff and run your test command to confirm nothing changed in behaviour. The sql code formatter uses read_file to load your messy query into the working folder.

Tool trace
read_file query.sql → read 1
edit_file query.sql → +24 lines
Shell test command → exit 0
02

Beautify a folder of files

The agent uses list_dir to find all SQL files and then reads each one with read_file to apply the style, ensuring consistent output across the entire directory. Ask first. You review the diff for each file to verify changes in Ask first mode. The sql pretty output remains consistent across all processed files. A counter shows files created, edited and read during the process. This approach works effectively with 13 languages for global users who need clarity.

Tool trace
list_dir . → 5 matches
glob *.sql → 5 matches
edit_file query.sql → +3 lines
03

Run a SQL code formatter

PrefixHarbor version 2.9.26 runs your formatter command in the Shell so that every action appears in the chat as a card with its real result. Check the output. Use read_file to inspect the final query text directly in the chat interface. edit_file rewrites the layout while the exit code is judged for success. The query formatter handles the styling tasks with care for every file. PrefixHarbor supports this workflow on Windows 10/11 for database developers.

Tool trace
Shell formatter → exit 0
read_file output.sql → read 1
04

Split a huge log query into CTEs

The agent uses glob to locate the log file and read_file to load its content so that it can split the huge query into manageable CTEs for better structure. Review the diff. PrefixHarbor version 2.9.26 runs on Windows 10 and 11 systems. Edit the file with edit_file after review is complete and safe. A plugin to format sql helps you maintain clean code. Test results on a local database to confirm safety and accuracy.

Tool trace
edit_file query.sql → +50 lines
write_file clean.sql → saved

View workflows

How it differs from a typical chat assistant

PrefixHarbor version 2.9.26 is a Windows agent that formats SQL autonomously and shows real results in the chat without just suggesting text. See the diff.

Typical chat assistantPrefixHarbor
ActionSuggests textRuns tools
ResultShows textShows diff
ControlManual copyAsk first
PrivacyCloud onlyLocal or cloud

How to use PrefixHarbor

  1. Download the setup program or portable .exe.
  2. Run the installer on Windows 10 or 11.
  3. Open the app and select your model.
  4. Ask the agent to format your SQL files.

Who uses this tool

Beginners use the tool to learn style and they see the diff to understand the rules of SQL formatting, which helps them write cleaner code. It helps. The current version 2.9.26 is available for download today.

Practitioners use the agent for large folders and they run tests to verify changes while keeping their data on the PC. Safety first. Files stay in the working folder and go to a provider only with a cloud model.

Developers format queries before a code review and read the diff so that the SQL pretty output meets standards and the results are verified. Run it. Verify the exit code.

Frequently asked questions

What is SQL Formatter?

SQL formatting is the process of adjusting layout elements like indentation and line breaks without altering the query's logical result or data. It is layout only. PrefixHarbor is the autonomous agent that performs this formatting locally.

Is sqlflare.com the official PrefixHarbor website?

Yes, sqlflare.com is the official PrefixHarbor website where you verify the installer’s SHA-256 checksum against the manifest to confirm authenticity before running the executable. Check the hash. Compare the result with the published manifest.

Does the agent change my data?

Yes, the agent edits layout like line breaks and indentation, so the query result stays exactly the same while you review the diff before accepting. Check the diff. Compare results on a test database to confirm nothing changed.

Is sql beautifier safe for production?

Yes, it changes only layout by adjusting line breaks, indentation, and keyword case without altering string literals, identifiers, values, or the query result, so review the diff before applying changes. Keep a backup. Test the formatted queries on a copy or test database before production deployment to ensure safety.

Can I use it locally?

Yes, the agent runs your commands and shows the exit code, so you verify success before accepting changes and it works locally on Windows 10/11 without needing an account. Verified. No account needed.

Does formatting change string literals or identifiers?

Yes, it rearranges layout elements like indentation and line breaks without altering string literals or identifiers, so the query result remains identical and preserves logic. Precise. The diff shows changes before you accept.

Is there a sql linter?

No, PrefixHarbor does not include a built-in linter, but you can run your own linter command via the Shell tool and check the real exit code for success. Check the exit code. The result appears as a card in the chat with details.

Get Started

Start formatting SQL

Download the about 34 MB agent now and version 2.9.26 is ready for Windows 10/11 so you see the diff and accept the changes. Done.

Download PrefixHarbor for Windows ↗

Links

The website pages are available in 20 languages.

Product features ↗ Model configuration ↗ Workflow examples ↗ Download installer ↗ FAQ details ↗ Privacy policy ↗