STEP # 01 #
Go to Main Menu and open Sales–>All Export–>CRM–>Export CSV.
STEP # 02 #
Now select “Export csv type” iam selecting Contact. & select fields what u want to export iam selecting all fields. now click export button.
STEP # 03 #
You can select the company in the same way.
Here is Export sheet.