See
here here for a excel spreadsheet that can do the conversions, the macros are vbscript so should just copy/paste.
See also
here, for php and JS source code based on the same vbscript, it shows how to use it 'standalone'
Otherwise I have a webservice
here, that can do the conversion for you via a simple remote call. It might not be effienct but might be simpler if have problems. I know from settting up this site how complex the the coordinate transformations are and luckily I found example codes like this...