Paste your Moq code into the left textbox,
then use the "Process code" button to generate equivalent NSubstitute code on the right

This migration has approximately ~90% accuracy, depending on the Code, and works best if the code is auto-formatted first (Ctrl+K, Ctrl+F).
For tasks unable to be migrated, a comment is added to the results
Moq code
NSubstitute code
                        
                    


Try some samples:

   
         

No code is captured or stored in the process of the conversion.
The source code for this website is stored in GitHub and is fully open source.

If you run into a bug, please post an issue!