Nutter Tools
Nutter Tools

A free toolbox that runs in your browser. A tool for every job.

Your files never leave your device

Images

  • Convert images
  • Compress images
  • Resize images
  • Crop
  • Watermark

PDF & files

  • Merge PDFs
  • Split a PDF
  • Images to PDF
  • PDF to images
  • Remove photo location

Video & audio

  • Compress video
  • Convert video
  • Video to GIF
  • Convert audio
  • Trim audio

Everyday

  • QR codes
  • Passwords
  • Time zones
  • Unit converter
  • Word count
  • Webcam test

Developer

  • JSON formatter
  • Base64
  • Regex tester
  • Hashes
  • JWT decoder

Site

  • About
  • Contact
  • Settings
  • Privacy
  • Terms
  • Site map
  • llms.txt

Everyday

  • Images
  • Video
  • Audio
  • PDF & files
  • Text
  • QR codes
  • Units & math
  • Time & dates
  • Color
  • Passwords & IDs
  • Device tests
  • Sun & moon

For developers

  • JSON
  • Encoding
  • Regex & cron
  • Web & auth
  • Hashing & encryption
  • Config files
  • Network
  • Browser
  • AI
  • Fake data
© Nutter Toolsnutter.tools
  1. Home
  2. Regex & cron
  3. SQL index advisor
Your files stay on your device

SQL index advisor

Read pasted queries and DDL, then propose B-tree indexes with column order reasoning, size estimates, and write cost warnings.

This tool is in beta

Still being tested. If a result looks wrong, tell us.

Report a problem

Queries (separate with ;)

266 of 200,000 characters

CREATE TABLE / CREATE INDEX

155 of 100,000 characters

Paste queries to see candidate indexes.

This advisor reads text only. Nothing is executed, no statistics are consulted, and nothing leaves the page. Column order follows fixed rules: equality columns first, then at most one range column, then ORDER BY and GROUP BY columns when a statement filters on equalities alone. Size numbers come from the entry formula (column widths plus 14 bytes) times rows times 1.3, with widths guessed from your DDL, so treat them as a ballpark. Run EXPLAIN against the real database before creating anything.

Input

DialectShapes the suggested DDL and the remedies
More settings▾
Feeds the rough size estimate only

Up to 200 statements of 200k characters, DDL capped at 100k, row counts within ±1,000,000,000,000. Leave the row field empty to skip size estimates.

More regex & cron tools

  • CSV → SQL
  • SQL to CSV
  • JSON query
All regex & cron tools

Was this tool useful?