How to connect to a COM port and read serial data

This guide shows how to open a serial port on Windows, see what your device sends, type commands to it and keep a copy of the output.

The start screen in the dark theme with the list of COM ports, a speed choice and a Connect button.

This app is not on the Microsoft Store yet. This guide is ready for the day it arrives.

Connect to a device and read what it sends

  1. Plug in the device or the USB-serial adapter.
  2. Open Terminal in the left menu.
  3. Open the first list in the bar at the top and choose your port. If it is missing, press the refresh button beside the list.
  4. Open the list with speeds such as 9600 baud and choose the speed your device uses. Choose Other... to type your own speed.
  5. Press Connect.
  6. Read the output. Each line starts with a time stamp unless Time is turned off.

If the screen says Connected, waiting for data, check that the baud rate matches the device.

Set data bits, parity, stop bits and flow control

  1. Disconnect first. These settings cannot be changed while a port is open.
  2. In the bar at the top, press the button that shows the data format, such as 8N1. It opens the Port settings window.
  3. Choose Data bits, Parity, Stop bits and Flow control to match your device.
  4. Press Done and then press Connect again.

Send a command to the device

  1. Connect to the port.
  2. Click the box above the line ending list and type your command.
  3. Open the line ending list and choose what the device expects, for example CR+LF (\r\n).
  4. Press Send, or press Enter.
  5. Press the up arrow in the box to bring back an earlier command.

Tick Escapes if you want \n, \r, \t or \x1B in your text to be sent as those characters.

Find a line, copy the output or save it to a file

  1. Type a word in the Show only lines containing... box to show only the lines that hold it.
  2. Press Time to turn the time stamps on or off.
  3. Press Copy to copy the lines on screen to the clipboard.
  4. Press Save to save the output as a text file.
  5. Press Clear to empty the screen.

If you scroll up while data arrives, press Jump to latest to follow the new lines again.

If something goes wrong

I see no ports in the list. What should I do?

The screen says No serial ports found until a device is plugged in. Plug in the adapter or board. The list updates by itself within a few seconds, or you can press Look again.

The output is garbled or full of odd characters. Why?

The baud rate, parity or stop bits probably do not match the device. Disconnect, set them to the values in your device's manual, and connect again.

The device was unplugged and plugged in again. Do I have to reconnect?

Not if Reconnect automatically is on in Settings. The app then opens the port again by itself when the device comes back.

I cannot change the baud rate. Why is the list greyed out?

The port is open. Press Disconnect, change the setting, then press Connect again.

Good to know

Coming to the Microsoft StoreAbout Tidy Serial

Still stuck? Support is by email, and a person reads it.