To export database, first of all Run your xampp and start apache and MySql.
Adding a new database:
Add a new database on clicking on new from the left menu.
Now enter the name for database as pointed in the screenshot and click on the create button,
You have created a database. Now to export your created database tables click on export as shown. Select format in which you want to export your tables and click on Go button.
You have exported your database. Use it anywhere now and enjoy.