You can convert PDF files into Google Docs within your Drive, but the formatting may not be perfect.
To convert PDFs into Word files and on Mac, you should edit them with Google Docs or other third-party applications.
If you're using Microsoft Office apps, such as Word, Excel and PowerPoint ... Click Select File. Select the file you want to convert on your computer or phone. Select PDF in the Convert to dropdown.
This article explains how to change file extensions in Windows 11, as well as discusses the difference between file extensions and file types.