StringMash.com

 is a byte order mark

Your text was saved as UTF-8 and read as Windows-1252. Paste it below and it's put right.

15 characters
Updates as you type

Correct text is left as it is

Show the steps
  1. Each garbled run was turned back into the bytes Windows-1252 showed, then read as UTF-8, as it should have been.
  2.  → (BOM) (U+FEFF): bytes EF BB BF
  3. Clean-up: removed the byte order mark.
Printable chart

What  means

 is a byte order mark that's been read with the wrong encoding.  at the very start of a file is a byte order mark, an invisible character, U+FEFF, that some programs put at the start of UTF-8 files to say they're UTF-8. Its bytes are EF BB BF. A program that reads the file as Windows-1252 shows them as ï, » and ¿.

WHY IT HAPPENS

Byte by byte

(BOM) (U+FEFF) in UTF-8, and what Windows-1252 makes of each byte
ByteIn UTF-8Windows-1252 shows
EFlead byte: 3 bytes in allï
BBcontinuation byte»
BFcontinuation byte¿

Broken twice, or on a Mac

Other ways (BOM) gets garbled, and whether this page's fixer undoes them
What happenedWhat you seeFixed here?
Saved as UTF-8, read as Windows-1252 (this page)Yes
The same mistake made twiceYes
Saved as UTF-8, read as Mac OS RomanÔªøNo

Where you probably saw it

The first cell of a CSV file, where the header id turns into id and stops matching.

The first line of a code, JSON or config file saved by an editor set to add a BOM.

The top of a web page, where a BOM in an included file can show as stray characters.

Related sequences

Text broken this way rarely has just one problem.  is a broken space, ’ is a broken apostrophe, é is a broken é. The mojibake fixer repairs all of them at once, and its table lists the rest.

Questions

What is ?

A byte order mark, U+FEFF, read with the wrong encoding. Its UTF-8 bytes EF BB BF show as  in Windows-1252.

Should I remove it?

For data and code, usually yes. Excel uses it to recognize UTF-8 CSV files, though, so keep it in CSVs meant for Excel. This page removes it unless you set Byte order mark to Leave as is.

Why does my CSV header not match?

An invisible BOM is stuck to the first column name, so id is really U+FEFF followed by id.

What does  mean?

It's the byte order mark broken twice. Text already showing  was saved as UTF-8 again and misread again, so each of those characters turned into two or three more. The fixer above repeats the repair until nothing is left to undo, so it fixes this too.

What about Ôªø?

That's the byte order mark read by older Mac software, which used the Mac OS Roman character set instead of Windows-1252. The same UTF-8 bytes come out as different characters. The fixer here only undoes the Windows-1252 mistake, so for this one open the file again as UTF-8, or delete the stray characters at the start.

Sources

Added . Last updated and reviewed . What's new