Skip to main content

WinSerial

Serial port terminal for Windows that runs as a native tab inside Windows Terminal. Built with C++ and boost::asio for fast, asynchronous serial communication.

Key Features​

  • Windows Terminal Integration: Adds WinSerial and each saved device profile to the Windows Terminal menu via --wt-install.
  • Auto Keyword Highlighting: Colors serial logs by severity (error/failed, ok/connected, IP/MAC addresses, network terms) and supports custom rules in highlight.json with hot-reload during a session.
  • Profiles & Port Picker: Save per-device settings as profiles, and pick a profile, plugged-in COM port (with driver name and USB ID), or recent connection from the keyboard.
  • Auto-Reconnect: Waits and reopens the port automatically when a board reboots or a USB adapter is replugged, even if a USB adapter with a serial number comes back under a different COM number.
  • Session Logs & Timestamps: Logs device output to plain text files with timestamps and toggles on-screen line timestamps.
  • Line Control & On-Connect Commands: Send break, toggle DTR/RTS, set --paste-delay for small receive buffers, change baud/frame on the fly, and run --on-connect commands when the port opens.

Installation​

Download the latest build from GitHub Releases:

  • Installer (recommended): WinSerial-setup-x.x.x.exe — per-user install (%LOCALAPPDATA%\Programs\WinSerial), no admin rights needed, with options to add to PATH and Windows Terminal.
  • Portable: WinSerial-portable-x.x.x.zip — extract and run WinSerial.exe.

Quick Start​

# Open the picker for profiles, COM ports, and recent connections
winserial

# List COM ports with driver names and USB IDs
winserial --list-ports

# Open a COM port directly
winserial COM5:115200
winserial COM5:9600:7E1

# Save and open a device profile
winserial --save pi4 COM3 --baud 115200 --name "Pi4 console"
winserial pi4

# Add WinSerial and profiles to Windows Terminal
winserial --wt-install

In-Session Shortcuts (Ctrl + ], then key)​

KeyAction
hShow help menu
fToggle keyword highlighting
eToggle local echo
l / tToggle session log / on-screen timestamps
iShow current port info
rClose and reopen the port
b / d / s / pSend break / toggle DTR / toggle RTS / change baud & frame
xExit session