Compatibility summary
You will need a travel adapter in Sri Lanka; plug types used there differ from Japan. Voltage differs by more than 20% — a voltage converter may be needed for some appliances.
Plug comparison
Japan plug types: A B
Sri Lanka plug types: G
There is no common plug type between Japan (A B) and Sri Lanka (G). You need a travel adapter.
Voltage comparison
Japan: 100V, 50Hz
Sri Lanka: 230V, 50Hz
Voltage converter recommended (Japan 100V vs Sri Lanka 230V).