← All articles

How to read an OP_RETURN message in any block explorer

A message written into Bitcoin is only as useful as your ability to read it again. The good news is that you don't need any special app, account or company for that. If you have the transaction ID, you can find the text in any public block explorer, or on your own node, today or decades from now.

This guide shows where the message sits in a transaction, how to recognise it, and how to turn the raw data back into words.

What you need: the transaction ID

Every Bitcoin transaction has an ID, often shortened to txid. It is a string of 64 hexadecimal characters, for example:

8e63ddc0eea56f7040645ba655eca2a226af5368507ebeae012af2426b85030f

That one is a real message written with Timestone, so you can try the steps below on it. The string is the key to everything. Keep it somewhere safe and separate from any single service: printed on paper, in a family document, in a note with your other important records. With Timestone, the transaction ID and the block number are printed on the certificate you receive after confirmation, so the record can be found even without us.

Step 1: open the transaction in an explorer

A block explorer is a website that shows the contents of the Bitcoin blockchain in a readable form. Well-known ones include mempool.space and blockstream.info, but any explorer will do, because they all read the same public data.

Paste the transaction ID into the search field. You will see the transaction page: when it was confirmed, in which block, which inputs it spends and which outputs it creates.

It's worth trying two different explorers for the same transaction. If they show the same text, you are not trusting either of them. You are seeing the same data from two independent sources.

Step 2: find the OP_RETURN output

Look at the list of outputs. Most of them send coins to an address. The message sits in a different kind of output, one that sends no coins and has no address. Explorers usually label it OP_RETURN, and in technical views its type is often called nulldata. Its value is usually zero.

As we explained in How to write a message into the Bitcoin blockchain, this output is provably unspendable. It exists only to carry a small piece of data, at most 80 bytes in the standard format.

Many explorers show the decoded text right next to the output. If yours does, you are done: that's the message. If you only see a long string of letters and digits, read on.

Step 3: read the script

Behind the label, every output has a script. For a message, the script is short and has a fixed shape. In an explorer's detailed view it may look something like this (an illustration using the sample message from our earlier article):

OP_RETURN OP_PUSHBYTES_47 545331423a57656c636f6d6520746f2074686520776f726c642c20456d612120426f726e2034204f63742032303236

It has three parts:

Part Meaning
OP_RETURN Marks the output as data, not payment. In raw form it is the single byte 6a.
OP_PUSHBYTES_47 Says how many bytes of data follow, here 47.
The long hex string The message itself, written as hexadecimal.

Some tools show the same thing in raw form, as one continuous string starting with 6a. For data up to 75 bytes, the byte after 6a is simply the length (here 2f, which is 47). For 76 to 80 bytes, a slightly different push is used: you will see 6a4c followed by a length byte, and then the data. In both cases, everything after the length is the text.

Step 4: decode the hex into text

Hexadecimal is just a way of writing bytes with the characters 0–9 and a–f. Two characters make one byte. For plain English letters, one byte is one character: 48 is H, 65 is e, 20 is a space.

To decode, copy only the data part (without 6a and the length) and convert it from hex to text with any tool you trust. If you prefer not to paste anything into a website, you can do it offline on your own computer.

In a terminal on Linux or macOS:

echo 545331423a57656c636f6d65 | xxd -r -p

Or in Python:

bytes.fromhex("545331423a57656c636f6d65").decode("utf-8")

Both give you TS1B:Welcome. Decode the whole string and you get the full message:

TS1B:Welcome to the world, Ema! Born 4 Oct 2026

The text is encoded as UTF-8, so letters with diacritics or other scripts decode correctly too. They just take two or more bytes per character.

Step 5: recognise the Timestone format

Messages written with Timestone start with a five-byte tag, so you can tell what kind of event the author recorded:

Tag Meaning
TS1B: Birth
TS1W: Wedding
TS1A: Anniversary
TS1M: Memorial
TS1O: Other

TS stands for Timestone and 1 is the format version. The tag is plain text, documented here and readable by anyone. The rest of the output, up to 75 bytes, is the message as the author wrote it.

Without any website: your own node

If you run a full node, you don't need an explorer at all. With Bitcoin Core, you can ask for the decoded transaction:

bitcoin-cli getrawtransaction <txid> true

In the output, find the entry whose scriptPubKey has the type nulldata. Its asm field shows OP_RETURN followed by the data in hex, which you decode as above. Note that for older transactions that aren't in your own wallet, Bitcoin Core needs the transaction index enabled (txindex=1), or you pass the block hash as an extra argument.

This is the strongest form of verification: your own copy of the blockchain, checked by your own node. Don't trust, verify.

What you are actually reading

Reading the message also tells you exactly what it proves. The block it was confirmed in shows that this text existed, in exactly this form, no later than the time of that block, and that it has not changed since.

It doesn't prove that the event happened, or that it happened on the date in the text. That date is what the author wrote. And the message is not a legal document; it doesn't replace a birth certificate, a marriage certificate or any official record.

A reminder: anyone can do this

The same steps that let your family find a message let anyone else find it too. Every message in the blockchain is public and permanent. That is why we always recommend first names, initials or nicknames instead of full names, especially for children, and never addresses or identification numbers.

If you are thinking about writing a message of your own, Timestone guides you through it, shows the byte count as you type, and lets you sign with your own wallet. And whatever happens to any tool, the steps above will still work.