Arktan logo

OpenRefactorAI is a Visual Studio Code extension that allows you to leverage the power of OpenAI to refactor your code with ease and precision. With this tool, you can select a piece of code, provide instructions, and let the AI perform complex refactors on any programming language. It also allows you to save refactoring instructions for future use. OpenRefactorAI is constantly improving and its roadmap includes support for refactoring across multiple files and better progress indication.

How to use: Install the extension, set your OpenAI API key, select the code you want to refactor, provide instructions, and let the AI do the rest!


  • Refactor code using OpenAI
  • Save refactoring instructions
  • Support for multiple programming languages
  • Support for refactoring across multiple files (in roadmap)
  • Better progress indication using stream response (in roadmap)

Use Cases

  • Refactoring code using AI
  • Improving code quality and readability
  • Automating repetitive code refactoring tasks

Suited For

  • Software developers
  • Programmers
  • Code refactoring enthusiasts