To export health data from your iPhone:
- Open the Health app
- Tap on the Today or Health Data tab
- Tap on the User icon in the upper-right corner
- Tap Export Health Data
- Tap Export - this might take several minutes
- Choose how you want to share the data (e.g. Email, AirDrop, store in Files, etc.)