Practical Guides · 1 min read

Preserve Long Message IDs When Opening an Export in a Spreadsheet

Import identifiers as text and compare a sample with the original so an altered digit does not break record links.

On this page
  1. Test with two invented IDs
  2. Verify the saved copy

Treat a message identifier as text if you need an exact match. JSON distinguishes strings from numbers. Number conversions can also lose precision in downstream tools. An identifier can be useful without taking part in any arithmetic.

Test with two invented IDs

Compare 000072 and 9007199254740993 in a local test row. The leading zeros and final digit matter if another record references the full string. In a spreadsheet import, choose a text type for identifiers. If you write a JSON version, preserve the identifiers as quoted strings when the destination schema permits.

Read the literal ID, Keep it as text, Check the exported copy.

Verify the saved copy

Open the resulting file in a text editor and compare the literal IDs with the source before accepting it. If a digit or zero changed, re-import the untouched original with the appropriate column type. Keep private identifiers in a local copy and avoid pasting an export into a public converter.

Sources and scope

This comparison separates documented capabilities from editorial interpretation. Source access and any limitations are described in the article; a suggested evaluation is not a claim of completed testing.

← More NSFW Chat articlesHow this was researched