processor,RAM,and Storage:
Both Pixel 2 and Pixel 2 XL both already use Snapdragon 835 chipset from Qualcomm and 4GB RAM. The difference, Pixel 2 has 64GB of internal storage space, while Pixel 2 XL there are two options namely 64 and 128GB.
camera:
12.2MP main camera with laser and dual pixel phase detection autofocus, OIS, EIS, f / 1.8 lens openings
8MP secondary camera with f / 2.4 lens openings
Video 1080 pixels at 30, 60, and 120 fps for main camera
Battery
Pixel 2: 2700mAh
Pixel 2 XL: 3250 mAh
Screen:
Pixel 2: Super AMOLED 5 inches, density 1920 x 1080 pixels
Pixel 2 XL: 6 inch pOLED, density 2880 x 1440 pixels
Other specifications:
"Active Edge"
USB-C, no wireless charging
No headphone jack
Bluetooth 5.0
IP67 certification
Without a headphone jack, it means the user can listen to music through a headset connected to USB-C or Bluetooth. It's exactly like other companies like Apple, Samsung, and LG that first remove the headphone jack.
In addition, thanks to the IP67 certification, the Pixel 2 and Pixel 2 XL are claimed to be able to stay in the water for up to 30 minutes at a maximum depth of one meter without using any additional protective gear. This is arguably a new achievement as other previous Google smartphones have not yet pocketed this certification.