Use an FTP client to connect to your XAMPP server or directly access the WordPress file on the htdocs folder inside your XAMPP folder and download all WordPress files.(eg. F:\installed software\xampp\htdocs\example.com)
Access phpMyAdmin in XAMPP, select your WordPress database, and export it to a .sql file.