You might want to have a look at the below link.
Using Windows Application on web
However, there is no magical tool or else to convert a windows app to a web app.
But you might try to abstract all your logic and stuffs.
Hope it helps.