You should be able to download the pfsense config rather than having to copy and paste the config since its a huge string of text.
Add an "Export" option on this tab