A transformer,can be used but you need a circuit to drive it.
An isolation amplifier can be used too, see here:
http://www.ti.com/lsds/ti/amplifiers-linear/isolation-amplifier-products.page
The used optocoupler (or equivalent) can't be make linear. However linear optocouplers exist like the...