Xf2sw
From Silent Wings Wiki
xf2sw is a small perl script that will convert your polars generated with X-Foil to a .polar file readable by Silent Wings.
You can download it here: xf2sw.tar.gz
The tarball contains a sample set of x-foil generated polars to demonstrate how it is done.