I agree with Amy Roe about 'net-friend'. I did a search for this word, but the only site I could find was a Chinese one, so I suspect it's 'Chinglish'. If you used this term, it would be clear what you meant, but it isn't generally used by English speakers.
The invented term 'netizen' ( a combination of 'net' and 'citizen') exists, but it's not in common use. I've never heard anyone say it.
'Online friend' makes sense, and you could use this phrase if you want. It's not especially common, though.