Why does JSON.parse fail at position 0 when my JSON starts with '{'?
An invisible UTF-8 Byte Order Mark (U+FEFF, bytes EF BB BF) sits immediately before '{'. Pasting the payload here exposes [U+FEFF] at Pos #0 and removes it cleanly.
Find hidden U+FEFF Byte Order Marks (UTF-8 bytes EF BB BF) lurking at byte 0 or concatenated mid-string inside JSON payloads, CSV headers, shell scripts, and Markdown files—and strip them locally.
A UTF-8 BOM adds 3 invisible bytes before your first visible character. Editors hide it completely, yet JSON.parse, jq, bash shebangs, and CSV column mappers fail immediately.
Detected codepoints in current buffer:
U+FEFF BYTE ORDER MARK / ZWNBSP × 1| Pos | UTF-16 | Glyph | Hex | UTF-8 Bytes | Category & Name |
|---|---|---|---|---|---|
| #0 | 0 | ∅ | U+FEFF | EF BB BF | BYTE ORDER MARK / ZWNBSP (Cf · Zero-Width Format) |
Removing invisible Unicode strips literal hidden codepoints, but it never alters statistical token patterns in the visible wording. Run an optional authorized sentence-level rewrite below (numbers, URLs, emails, code spans, and quotes are placeholder-protected), or compare Pro, Scale bearer-API, and one-time character packs.
Checking your session…
Inspect exact UTF-8 byte offsets so you can distinguish a BOM from adjacent zero-width controls.
| Hex Codepoint | Unicode Name | How It Enters LLM / Pasted Text | Editor, ATS & Code Breakage Impact |
|---|---|---|---|
U+FEFF | BYTE ORDER MARK / ZWNBSP | Prepended by Windows Notepad, Excel UTF-8 CSV export, PowerShell Out-File, and concatenated files. | Causes JSON.parse Unexpected token at position 0, breaks CSV first-column lookups ('\uFEFFemail' != 'email'), and breaks #!/usr/bin/env shebangs. |
U+200B | ZERO WIDTH SPACE (ZWSP) | Often accompanies BOM when copying text from web consoles or chat UIs. | Creates invalid JSON keys and unrecognized config flags with 3 hidden bytes (E2 80 8B). |
U+2060 | WORD JOINER (WJ) | Modern Unicode replacement for mid-string U+FEFF non-breaking behavior. | Hidden inside copied strings and changes SHA-256 hashes or exact database keys. |
An invisible UTF-8 Byte Order Mark (U+FEFF, bytes EF BB BF) sits immediately before '{'. Pasting the payload here exposes [U+FEFF] at Pos #0 and removes it cleanly.
Excel's 'CSV UTF-8' export writes a BOM before the first column name, turning 'id' into '\uFEFFid'. Stripping U+FEFF fixes the header immediately.
Yes. Concatenating two UTF-8-with-BOM files embeds U+FEFF mid-string, where older Unicode treated it as a Zero Width No-Break Space. This tool strips both leading and mid-string occurrences.
No. Everything runs locally in your browser tab so secrets, API schemas, and customer exports never leave your device.
Expose hidden bidirectional overrides (U+202E RLO, LRM, RLM, LRI/RLI) that reorder code comments or filenames.
Open toolU+00AD · U+2060 · PDF PasteStrip invisible soft hyphens (U+00AD) and Word Joiners (U+2060) copied from PDFs, ebooks, and academic papers.
Open toolU+E0000–U+E007F · ASCII DecoderDecode hidden ASCII messages and invisible prompt injections encoded inside Plane-14 Unicode Tags (U+E0000–U+E007F).
Open toolEssays · Citations · LaTeX/WordSanitize essays, theses, and bibliography citations of PDF soft hyphens, NBSP, zero-width spaces, and homoglyphs.
Open toolATS · Resume · Skills MatchStrip ATS-breaking zero-width spaces, PDF soft hyphens, and non-breaking spaces from resumes and cover letters.
Open toolSEO · Slugs · Meta TagsClean blog drafts, meta titles, descriptions, and URL slugs of zero-width spaces, NBSP, BOM, and stray tags before publishing.
Open toolBrowse the full Unicode detector directory, read how zero-width cleanup preserves emoji, or compare Pro & API character allowances.