Skip to content

Why does my Facebook download show strange characters?

Emoji and accented letters in a Facebook, Instagram or Messenger JSON download turn into odd symbols. Here is why it happens, and how to fix the files in a few minutes.

By Team ToolkitHere

You asked Meta for a copy of your data, picked JSON, and opened a file. Instead of your messages, you see lines like Café tonight? ð or a name like Zoë Müller. Nothing is wrong with your account, and nothing was deleted. Your text is all there, stored in a way most apps misread. This guide explains what happened and how to get readable files back.

What do the strange characters look like?

The damage follows a pattern. Every character outside basic English turns into two to four odd symbols. Plain English letters, numbers and punctuation stay normal.

What you wrote What the download shows
Café Café
Zoë Müller Zoë Müller
I’m home (curly apostrophe) Iâm home
😂 ð
Привет (Russian) ÐÑивеÑ
❤ â¤

Some of the broken symbols are invisible control characters, so the damage often looks shorter than it is. A laughing emoji is four broken characters, but you may only see ð. If the text has been through a Windows program, the same apostrophe can also show as I’m.

In the raw file, opened in a plain text editor, the damage looks different again. You see escape codes such as Café instead of symbols. It is the same problem: each code is one broken byte.

Why does Facebook’s JSON download show strange characters?

Computers store text as numbers. The usual standard, UTF-8, stores a basic English letter as one byte, and every other character as two to four bytes. The letter é, for example, is the two bytes C3 A9.

JSON files can also write a character as an escape code, \u followed by four hex digits naming the whole character. The correct code for é is é.

Meta’s export mixes these two ideas up. It takes each byte of the UTF-8 version and writes it as its own escape code. So é becomes é: two codes, one per byte. Any app that reads the file correctly sees two characters, à and ©, instead of one é.

Step The letter é
The character é
Its UTF-8 bytes C3 A9
What a correct JSON file says é
What Meta’s JSON file says é
What apps show é

The good news follows from this. No information is lost. Every original byte is still in the file, in order. Turning each broken character back into its byte, and reading those bytes as UTF-8, gives back exactly what you wrote. That is all a fixer has to do.

Developers have reported this problem since at least 2018.

Does this affect Instagram and Messenger too?

Yes. Facebook, Instagram and Messenger downloads all come from Meta’s Accounts Center, and their JSON files all use the same broken encoding. It affects every text field: messages, comments, post captions, your profile, contact names and reactions.

The download’s HTML format is not affected. If you chose HTML, open the index.html file inside the zip and the text shows correctly in your browser. JSON is the format to choose when you want to analyse your data, load it into another app, or keep a copy that a program can read. That is also the format that needs fixing.

How do I fix the strange characters?

The quickest way is the Broken Text Fixer. It repairs the whole download in your browser. Nothing is uploaded, and you don’t need to unzip anything first.

  1. Open the fixer

    Open the free Broken Text Fixer on ToolkitHere in any modern browser, on a computer or a phone.

  2. Add your download

    Drop the .zip file from Meta onto the upload box, or tap Choose files. If your download came in several parts, add them all.

  3. Check the before and after

    Look at the examples under Before and after. Names, emoji and accented letters should now look right.

  4. Download the fixed files

    Tap Download fixed files. You get your JSON files with the same folders and file names, and the text repaired.

  5. Use the fixed files

    Open the fixed files in a text editor, a JSON viewer, a spreadsheet tool or your own script, in place of the originals.

The fixer changes only the damaged text. Numbers, dates, field names and spacing stay exactly as Meta wrote them. Text that is already correct is left alone. Photos and videos don’t need fixing, so the download of fixed files contains only the JSON files.

If you only have a few lines to repair, open Paste broken text instead on the same page, paste the text, and copy the result.

Can I fix the files myself with code?

Yes, if you are comfortable with a little programming. The fix for one piece of text is one line in most languages.

In Python, after loading the JSON:

import json

def fix(value):
    if isinstance(value, str):
        return value.encode("latin-1").decode("utf-8")
    if isinstance(value, list):
        return [fix(v) for v in value]
    if isinstance(value, dict):
        return {fix(k): fix(v) for k, v in value.items()}
    return value

with open("message_1.json", encoding="utf-8") as f:
    data = fix(json.load(f))

with open("message_1_fixed.json", "w", encoding="utf-8") as f:
    json.dump(data, f, ensure_ascii=False, indent=2)

In JavaScript, for one string:

const fixed = new TextDecoder('utf-8').decode(Uint8Array.from(text, (c) => c.charCodeAt(0)));

Both work by turning each character back into its byte, then reading the bytes as UTF-8. Two things to watch for:

  1. Run the fix once. Fixing text that is already fixed can damage it again, or make the script stop with an error.
  2. Handle errors. The Python version raises an error if a string contains a character that can’t be a single byte. Wrap it in a try block and keep the original text when that happens.

The Broken Text Fixer handles both cases for you. It repairs only sequences that are valid UTF-8 and leaves everything else untouched.

Which way of fixing suits me?

Broken Text Fixer Your own script Request an HTML download instead
Skills needed None Basic programming None
Handles the full .zip Yes, including several parts If you write the code Not needed
Keeps the JSON format Yes Yes No, you get web pages
Leaves correct text alone Yes Only if you add checks Not affected
Works on a phone Yes, in the browser No Yes
Best for Getting readable JSON quickly Large automated pipelines Simply reading your data

If you only want to read your old messages and don’t need JSON, an HTML download is the simplest option. If you want the data in a spreadsheet, a database or another app, fix the JSON.

How do I download my data as JSON?

If you haven’t requested your download yet, use Accounts Center. Meta calls a download an “export”, and the steps are the same for Facebook and Instagram.

  1. Open Accounts Center, at accountscenter.facebook.com or from the settings in Facebook or Instagram.
  2. Choose Your information and permissions, then Export your information.
  3. Tap Create export, then pick your Facebook or Instagram profile.
  4. Choose Export to device.
  5. On Confirm your export, tap Format and change it from HTML to JSON.
  6. Optional: under Customize information, pick only what you need, such as messages, and shorten the Date range. A smaller export is ready sooner.
  7. Tap Start export. When Meta tells you it is ready, save the .zip file, or every part if there are several.

The format is set to HTML unless you change it, which is the most common mistake. Meta keeps a finished export for four days, so download it soon.

A large download is split into several .zip files. Keep them all: the fixer accepts every part at once and puts the fixed files from all of them into one download.

Where are my messages inside the download?

In a Facebook download, messages are in the your_facebook_activity/messages/ folder. Each conversation has its own folder, named after the chat and followed by a number. Two folders hold most of them:

Folder What it holds
messages/e2ee_cutover/ Personal chats that Messenger moved to end-to-end encryption, usually your chats with friends
messages/inbox/ Other chats, such as messages from pages and businesses

If inbox looks almost empty, look in e2ee_cutover. The fixer repairs the files in every folder, so you don’t need to find them first. Each conversation has files named message_1.json, message_2.json and so on. Long conversations are split across several numbered files.

Each message is a block with the sender’s name, a timestamp and the text:

{
  "sender_name": "Zoë Müller",
  "timestamp_ms": 1735732800000,
  "content": "Café tonight? ð\u009f\u0098\u0082"
}

After fixing, the same block reads "sender_name": "Zoë Müller" and "content": "Café tonight? 😂". The timestamp is a count of milliseconds since 1 January 1970, which a spreadsheet or script can turn into a date.

What if the text still looks wrong after fixing?

What you see Likely cause What to do
The fixer says “Nothing needed fixing” The file has only English text, or was fixed already Nothing to do: the file is fine
“This download is in HTML format” You requested HTML, not JSON Open index.html to read it, or request a JSON download
Some symbols remain The text was damaged twice, for example opened and re-saved by another app Fix the original file from Meta, not a copy that was edited
Emoji show as empty boxes Your device’s font doesn’t include that emoji The text is correct; try another device or app
Letters look decorated with marks The original text was “glitch” text, written that way on purpose This is not an encoding problem, so it stays as written

Is it safe to fix my download online?

Your download is personal. It holds private messages, contacts and photos. Before adding it to any website, check whether the site uploads your files to its servers.

The Broken Text Fixer does not. It reads and repairs the files inside your browser, and nothing is uploaded. How it works explains how to check this yourself, with your browser’s own tools.

If you also export chats from other apps, the Chat Export Viewer reads WhatsApp exports as a chat, in the same private way.

Key takeaways

  • Strange characters in a Facebook, Instagram or Messenger JSON download are an encoding mistake, not lost data.
  • Meta writes each byte of a letter or emoji as a separate character, so one letter becomes two to four symbols.
  • HTML downloads are not affected; JSON downloads are.
  • The Broken Text Fixer repairs the whole download in your browser, without uploading it.
  • To fix it in code, turn each character back into a byte and decode the bytes as UTF-8, once.

Tools for this

Chat Export Viewer

Read an exported chat as bubbles, with photos and voice notes.

Broken Text Fixer

Fix the garbled emoji and accents in a Facebook or Instagram data download.

Facebook, Instagram and Messenger are trademarks of Meta. ToolkitHere is not affiliated with Meta or any platform mentioned.