Developer Tool

SQL Hidden Character Detector

Paste a SQL query copied from Word, PDF, or a webpage and instantly find invisible characters โ€” smart quotes, non-breaking spaces, zero-width spaces, and other look-alikes โ€” that cause silent syntax errors in SSMS, sqlcmd, or psql.

๐Ÿ”Ž

Detect

Finds invisible & look-alike characters

๐ŸŽฏ

Highlight

Shows exact line & column of each one

๐Ÿงน

Auto-clean

One-click sanitized query

๐Ÿ”’

Private

Runs 100% in your browser

Paste your SQL query

Word/PDF/web se copy kiya hua SQL yahan paste karo โ€” smart quotes, invisible zero-width characters, non-breaking spaces jaise hidden characters highlight ho jayenge jo SSMS/sqlcmd me error dete hain.

How to use

  1. 1Paste your SQL query into the editor
  2. 2Review the highlighted preview โ€” colored marks show risky characters
  3. 3Check the character breakdown table for exact names and codes
  4. 4Copy or download the auto-cleaned, sqlcmd-safe version

What it detects

  • โœ“Smart quotes & dashes - curly quotes, en/em dashes from Word autocorrect
  • โœ“Invisible characters - zero-width spaces, BOM, soft hyphens, word joiners
  • โœ“Non-standard spaces - non-breaking, thin, hair, and ideographic spaces
  • โœ“Control characters - stray control codes that break parsers
  • โœ“100% Free - No registration, API keys, or limits

FAQ

Why does my query fail in sqlcmd but look fine in SSMS?

Editors like Word or PDF viewers often insert visually identical characters โ€” curly quotes instead of straight quotes, non-breaking spaces instead of regular spaces โ€” that some clients render normally but parsers reject or misinterpret.

Is my SQL query sent to a server?

No. Detection and cleaning both happen entirely in your browser. Nothing is uploaded or stored.

Will the auto-clean change my query's meaning?

Cleaning only swaps flagged look-alike characters for their plain-ASCII equivalents (or removes truly invisible ones). Always review the cleaned output before running it against production.