Yep, I've got this in my Samsung phone with USB c socket. They're so handy, and save wear and tear on the socket.
Note that the magnetic ends vary slightly AND incompatibly between sellers, so buy 2 or 3 at the same time if you intend to use in multiple places ( at home, in the car, at the office.)
I'd trust this for charging my phone, but not for data transfer. If you're thinking of using this for your MacBook, chances are the magnetic systems aren't up to powering it.