decoder.tools

RS-232 / Serial Decoder

Analyse serial framing, baud rate, parity and byte values.

on the roadmapHardware, Radio & Telecomfree · no sign-up

This bench is being wired up

The rs232-decoder decoder is on the roadmap. The heavier binary and cryptographic parsers ship after the core text and token decoders — all of which are already live and working.

Browse the live decoders

Input is processed on your device. Nothing you paste is sent anywhere.

What is the RS-232 / Serial Decoder?

An RS-232 decoder interprets asynchronous serial data by applying the framing rules — start bit, data bits, optional parity, stop bits — to recover the bytes transmitted on a UART link.

Asynchronous serial has no clock line, so both ends must agree on the bit rate in advance. Each byte is framed: an idle-high line drops for one start bit, then the data bits arrive least-significant first, then an optional parity bit, then one or two stop bits. The notation 8N1 means eight data bits, no parity, one stop bit — the near-universal default.

When the baud rate is wrong, the symptom is distinctive: consistent, repeatable garbage rather than intermittent errors. Because the receiver samples at fixed intervals, a mismatched rate misreads every byte the same way. Halving or doubling the rate is the first thing to try when a console prints nonsense.

RS-232 proper also defines electrical levels — ±3 to ±15 volts, with a logic 1 being the negative voltage — which is why connecting a 3.3 V microcontroller UART directly to a real RS-232 port damages it. The framing is identical; the voltages are not.

RS-232 / Serial Decoder at a glance

Common framing
8N1 — 8 data bits, no parity, 1 stop bit
Bit order
Least-significant bit first
Standard rates
9600, 19200, 38400, 57600, 115200 baud
RS-232 levels
±3 to ±15 V — not TTL/3.3 V compatible

How to use the RS-232 / Serial Decoder

  1. 1Paste the captured bit stream or byte values from your analyser.
  2. 2Set the framing — data bits, parity and stop bits — to match the link.
  3. 3Read the decoded bytes; if they are consistent garbage, try another baud rate.

When you would reach for it

  • Recovering a device's boot console output at an unknown baud rate.
  • Debugging a UART link between two boards that won't talk.
  • Decoding a logic-analyser capture of a serial line.

RS-232 / Serial Decoder — frequently asked questions

Last reviewed · questions or corrections: contact@decoder.tools