OnSumoTools

Data tools

Schema diagrams and data helpers, private and instant in your browser.

These tools handle common data engineering and analysis tasks that typically require installing software or pasting data into an external service. The database schema visualizer parses CREATE TABLE SQL and renders an entity-relationship diagram with foreign key arrows and draggable nodes — useful for documenting an existing schema or reviewing a migration before it runs. The visual SQL query builder constructs formatted queries from table, filter, and join rows without typing raw SQL.

The CSV tools cover format conversion, deduplication, and comparison: CSV to JSON handles bidirectional conversion with delimiter auto-detection and type inference, the de-duplicator removes rows by selected key columns with configurable keep-first or keep-last behavior, and the diff viewer compares two CSV files by key column and highlights added, removed, and changed rows. All processing runs in your browser with no data sent to a server.

Data work without the upload step

Most data tools online want you to upload your file to their server. For a test spreadsheet, fine. For a customer export or a production schema, it's a bad idea. Every tool in this section runs in your browser tab, so the file never leaves your machine.

That's the whole pitch. Paste, drop, click, copy the result. No account, no queue, no waiting on someone else's backend.

The five tools and when to reach for each

The CSV to JSON converter handles both directions. It guesses your delimiter, works out which columns are numbers or booleans, and shows a ten row preview before you copy anything. Use it when an API wants JSON and all you have is a spreadsheet export.

The CSV de-duplicator removes repeated rows. You choose which columns define a duplicate, decide whether to keep the first or last match, and optionally ignore case and stray spaces. It shows a before and after view and lets you download the rows it removed, so nothing disappears without a record.

The CSV diff viewer compares two files. Pick a key column, and it marks rows as added, removed or changed, with the changed cells highlighted. It's the fastest way to check what really changed between two exports.

The database schema visualizer turns CREATE TABLE statements into an ER diagram. Foreign keys become arrows. You can drag tables around, zoom, pan and download the result as SVG.

The visual SQL query builder lets you add tables, filters and joins through a form and watch the SQL appear. It supports different quoting styles by dialect and has copy and format buttons.

Cleaning a messy CSV, step by step

Say a marketing export lands on your desk with 40,000 rows and obvious repeats. Here's a sane order of operations.

  • Open the file in the de-duplicator and pick the column that should be unique, usually email or an ID.
  • Turn on trim and case-insensitive matching, because "Anna@x.com " and "anna@x.com" are the same person.
  • Keep the first or last match depending on whether older or newer data is better.
  • Download the cleaned file and the removed rows. Skim the removed ones. If something looks wrong, adjust the key and run it again.
  • Compare the cleaned file against the original in the diff viewer when you want proof that only the duplicates moved.

That last step is optional, but it's the one that makes people trust the result.

Common data mistakes these tools help you catch

Delimiters trip people up constantly. A European export uses semicolons because commas are decimal marks. Open it with the wrong delimiter and every row becomes one long cell. Auto-detect fixes most of that, and you can override it by hand when it guesses wrong.

Type guessing causes quieter trouble. A zip code like 02134 is text, not a number. If a converter turns it into 2134 you've lost data. Check the preview before you copy, and look at the first few rows of every column.

Duplicates hide in plain sight. Two rows can differ by a trailing space or a capital letter and still describe one customer. Trimming and case options exist for exactly that reason.

Schemas drift. A developer adds a column in one environment and forgets the other. Drawing both schemas side by side makes the gap obvious in seconds.

A few notes on size and speed

Browser tools have limits, because your tab has limited memory. A file of a few hundred thousand rows works fine on a modern laptop. A multi-gigabyte log doesn't belong here. For that, use a command line tool or a proper database.

If a page feels slow, close other heavy tabs and try again. Large diffs are the most demanding job, since the tool compares every row against its match.

Exports are plain files. CSV, JSON and SVG open anywhere, so you're never locked into this site.

Using the schema and query tools together

These two pair well. Paste your CREATE TABLE statements into the visualizer first. Seeing which tables connect, and how, makes writing joins much less guesswork.

Then open the query builder, add the tables you need and join them the way the diagram shows. Copy the formatted SQL into your editor and run it against a test database before you trust it.

The builder won't replace knowing SQL. It's a scratchpad for getting the shape right, and a decent way to teach a teammate what a left join does.

Where to begin

Got a spreadsheet that needs to become JSON? Start with the converter. Got two versions of the same list? Use the diff viewer. Got a database nobody has documented? Paste its schema into the visualizer and print the diagram.

Every tool opens in a second and needs nothing from you. Try one on a small sample first, then run the real file once the output looks right.