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 inhighlight.jsonwith 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-delayfor small receive buffers, change baud/frame on the fly, and run--on-connectcommands 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 toPATHand Windows Terminal. - Portable:
WinSerial-portable-x.x.x.zip— extract and runWinSerial.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)
| Key | Action |
|---|---|
h | Show help menu |
f | Toggle keyword highlighting |
e | Toggle local echo |
l / t | Toggle session log / on-screen timestamps |
i | Show current port info |
r | Close and reopen the port |
b / d / s / p | Send break / toggle DTR / toggle RTS / change baud & frame |
x | Exit session |
Links
- Repository: github.com/winserial/WinSerial
- Releases: WinSerial Releases
- Profiles Guide: docs/profiles.md