There are a couple of ways to transfer data from your M.2 SSD:
Enclosure – Store your M.2 SSD in a compatible enclosure and connect it directly to your computer. Copy and paste your files.
USB adapter – Connect your M.2 SSD chip to a USB adapter. Copy and paste your files.
Image backup software – Create an image backup of your M.2 SSD using backup software.
Cloud storage – Connect your M.2 SSD (via USB or enclosure) to your computer and upload your files to a cloud storage service like iCloud or Google Drive.