OCPP Simulator & Emulator: Test a CSMS with a Virtual Charger
A free online OCPP simulator and emulator for 1.6J, 2.0.1 and 2.1. Run virtual charge points in your browser and inspect every message.
What is an OCPP simulator?
The Open Charge Point Protocol (OCPP) is how EV chargers talk to the software that manages them — the CSMS (Charging Station Management System, called the Central System in OCPP 1.6). A charger opens a WebSocket to the CSMS, announces itself with a BootNotification, and from then on both sides exchange JSON messages: authorizations, transactions, meter readings, status changes and remote commands.
An OCPP simulator — also called an OCPP emulator or charge point emulator — plays the charger's side of that conversation. Instead of wiring up real hardware, you point a virtual charge point at your CSMS and drive it from a UI. That makes it the fastest way to develop, debug and regression-test OCPP backends, and to reproduce edge cases that are hard to trigger on a physical charger.
What this simulator can do
Three OCPP versions
OCPP 1.6J, 2.0.1 and 2.1 over WebSocket, switchable per charger.
Real charging sessions
Plug in, authorize, start, stop or auto-charge with live meter values and state of charge.
Remote commands
Answers RemoteStart/Stop, Reset, UnlockConnector, TriggerMessage, Get/ChangeConfiguration and around 30 more CSMS requests.
Many chargers at once
Open chargers as editor-style tabs, or spawn a whole fleet to load-test your CSMS.
Edge cases on demand
Inject hardware faults, drop offline, add response latency or send malformed frames.
Every message logged
A live log of each frame with direction and timing, exportable as JSON or CSV.
How to test a CSMS in four steps
- Open the simulator. It runs entirely in the browser.
- Open Configuration and enter your CSMS WebSocket URL (for example
wss://csms.example.com/ocpp) and the charge point ID your CSMS expects. - Choose the OCPP version and select Connect. The simulator sends a BootNotification and starts heartbeats once it is accepted.
- Plug in, authorize and start a transaction — or wait for your CSMS to send a RemoteStartTransaction — and watch each message in the log.
Testing a CSMS on your own machine? See connecting to ws://localhost.
Who uses it
- CSMS developers building or debugging an OCPP backend.
- QA engineers reproducing charger behaviour, faults and timeouts on demand.
- Charge point operators and integrators checking a platform before real hardware arrives.
- Students and newcomers learning how OCPP works by watching real message exchanges.
Building the CSMS in Node.js? The simulator is built on the same library you can use for the server — see OCPP in Node.js with ocpp-ws-io.
Try it now — no install, no sign-up
Open the simulator, point it at your CSMS URL and connect. Everything runs in your browser.
Frequently asked questions
What is an OCPP simulator?
An OCPP simulator is software that behaves like a real EV charge point. It connects to a CSMS (Central System) over WebSocket and exchanges OCPP messages — boot, authorization, transactions, meter values — so you can test the backend without charging hardware.
Is an OCPP emulator the same as an OCPP simulator?
Yes — both terms describe software that acts as a charge point over OCPP. “Simulator” stresses that no charging hardware is involved; “emulator” stresses that it speaks the real protocol, message for message, to a real CSMS. This tool is both.
Is this OCPP simulator free?
Yes. OCPP WS Simulator is free and open source under the MIT license. It runs in your browser with no install and no account.
Which OCPP versions are supported?
OCPP 1.6J, OCPP 2.0.1 and OCPP 2.1, all using JSON over WebSocket (OCPP-J).
Can it connect to a CSMS running on localhost?
Yes. When the simulator itself runs locally it connects directly. From the hosted HTTPS site, allow insecure content for the site in your browser settings, or expose your CSMS through a tunnel such as ngrok.