bg

COM Port Data Emulator: Free Serial and TCP/UDP Simulator

For Windows 7 - Windows 11 (incl. Server, x86 and x64)Windows 11, 10, 8.1, 8, 7, Vista, XP, 2000
Windows Server 2025, 2022, 2019, 2016, 2012 R2, 2012, 2008 R2, 2008, 2003
x86, x64
. Latest version: 2.7.1 build 409. April 9, 2026.

COM Port Data Emulator - Freeware icon
  • Windows 7 to 11 and Server 2012 to 2025
  • Freeware
  • Existing COM ports, TCP and UDP
  • Text and binary file replay, random test data
  • Logs sent data and replies

Simulate the data your device sends

COM Port Data Emulator is a free Windows tool for testing software that reads data from a serial or network device. Replay a text or binary capture, type a few sample messages, or generate random data. Send it through an existing COM port or over TCP or UDP, then inspect what your application sends back.

What you can test

Reproduce a parser error using the input from a saved capture. Check that a data logger records each reading, or that a terminal or SCADA application displays the right values. Repeat the same input after a software change so you can compare the results. For a serial test on one PC, use a connected pair of virtual COM ports.

Send your first test message

  1. Open the Device tab. Select an available serial port and match the serial settings at the receiving end, or choose a TCP or UDP mode and set the address and port.
  2. On the Data source tab, choose Text strings for a quick test. Enter one or two sample lines, set the line endings your application expects, and choose a send interval.
  3. Start the receiving application, then click Start in the emulator. Open the Log tab to inspect sent or received data. Enable the corresponding log options on the Data source tab to save them.

COM Port Data Emulator in action

COM Port Data Emulator. Overview. More screenshots

Traffic generation and logging features

Serial data over existing COM ports. Uses a physical or virtual Windows COM port. Supports RS232 and RS485 through a suitable converter.

Serial settings and flow control. Set baud rate up to 115200, data bits, parity, stop bits and flow control to match your device or software.

TCP and UDP modes. Runs as a TCP client or server and offers UDP client and server modes.

File replay and custom messages. Sends data from a text file, a binary file or text that you enter. Repeat a capture to reproduce the same input.

Random text and bytes. Generates random data for a varied input stream and lets you choose how quickly to send it.

Configurable timing and framing. Set the send interval, repeat delay, data block size and line endings to suit your test.

Traffic log. Displays traffic and communication errors, and can log sent data, replies and system events in text or hexadecimal.

Direct input for compatible AGG data loggers. Sends test data to a logger configuration by its case-sensitive ID, even on a PC with no serial cable.

Replay a capture or send known sample messages

Text strings data source with repeat mode, line endings, send interval and logging options

Use a text capture for line-based messages or select Binary file when your receiver expects raw bytes. Replay uses the send interval and block settings you choose. Enable Repeat mode if you need the same file to play through again.

For a line-based test, enter two values you can recognize in the receiver, such as VALUE,21.5 and VALUE,22.0. Set the line ending the receiver expects. For example, enter #0D#0A in Line ending characters (send) for CRLF. Check that each line appears as its own record before you switch to a longer capture.

Test a serial application on one Windows PC

Use Virtual Null Modem to create a connected pair such as COM5 and COM6. Open COM5 in the emulator and COM6 in your receiving application. Start the receiver first, then send data from the emulator and check what arrives on the other port.

If you already have a physical connection, select the COM port that leads to the receiving device. Check that the serial settings match. To route a virtual COM port to a remote TCP endpoint, use TCP COM Bridge.

Test a TCP or UDP application

If the application listens for TCP connections, set the emulator to TCP/IP client mode and enter the application's address and listening port. If the application normally connects to a device, set the emulator to TCP/IP server mode and point the application at that listener. For both programs on the same computer, you can use the loopback address 127.0.0.1.

For UDP, set the destination address and port in UDP client mode to send datagrams to your application. To confirm what was sent and whether the receiver replied, enable sent and received logging before starting the test.

Download the free Windows utility

Get the COM Port Data Emulator installer. The PDF manual covers the device, data source and log settings.

Frequently asked questions

How do I create a virtual COM port for the emulator?

Create a connected pair with Virtual Null Modem. Select one port in COM Port Data Emulator and open the other port in the application you are testing.

Can I replay a binary capture?

Yes. Choose Binary file on the Data source tab and open the capture. Set a block size and send interval appropriate for the receiver.

Can I send and receive data at the same time?

Yes, on full-duplex connections. Enable sent and received logging to review both sides of the exchange. With RS485, duplex behavior depends on the converter and wiring.

Can I test an AGG data logger without a COM cable?

Yes, if your logger configuration supports direct input. On the Device tab, select Send data directly to Data Logger and enter the configuration ID exactly as it appears, including letter case.

Is COM Port Data Emulator free?

Yes. COM Port Data Emulator is freeware for Windows.