Many options if its a one-off and you don't care too much about price.
HALL current sensors are probably the best for getting isolation out of the box, but they can get expensive if you want a module.
The IC versions are cheaper.
They can be PCB mount or external boxes, and where the current sense is either a ring you place your wire through, or may have the current path built in. Sometimes they come with multiple current paths that you can wire up in series/parallel to change the current detection range of the sensor. Some just look like a normal IC but you pass the current though some of the pins on one side.
They also make odd ones that sense the current on a pcb track going under the IC.
One downside of hall sensors is they are usually not that accurate, or rather the accurate ones can get expensive.
Also the accuracy of your ADC comes into play too.
https://www.digikey.co.nz/en/products/detail/broadcom-limited/ACHS-7121-000E/9178254