Mainframe Assessment Tool helps assess your existing mainframe codebase and plan your migration to Google Cloud. Mainframe Assessment Tool automates assessment, saving you time and resources. It uses generative AI to help you understand your existing codebase and generate documentation.
The mainframe migration journey involves three phases: discovery and assessment, planning, and migration. Mainframe Assessment Tool assists with the first two phases. It helps you discover and assess your existing codebase and plan your migration.
After your assessment, you can modernize your code with Mainframe Code Rewrite (Preview), a Visual Studio Code extension. Mainframe Code Rewrite uses generative AI to help you rewrite legacy applications in Java, C#, and Python.
Mainframe migration journey
The following diagram illustrates the overall migration journey of mainframe applications:

The migration journey has the following phases:
- Discover and assess your existing codebase: Mainframe Assessment Tool helps you perform an assessment of the mainframe application footprint, technology stack, and dependencies. After you upload a zip file that contains code for one or more mainframe applications, Mainframe Assessment Tool scans the application code and provides you with an assessment. Automating the assessment process with Mainframe Assessment Tool saves your organization the time and effort of manually collecting and processing the application code.
- Plan the migration: You can use the detailed assessment from Mainframe Assessment Tool to plan your migration more quickly and to lower migration risks.
- Migrate workloads: Depending on the choices that you made during the planning phase, you can use Google Cloud solutions to start migrating.
Code modernization with Mainframe Code Rewrite (Preview)
After you complete your assessment by using Mainframe Assessment Tool, you can start modernizing your code with Mainframe Code Rewrite, using generative AI and Gemini models.
Mainframe Code Rewrite is a Visual Studio Code extension that supports both Windows and Linux operating systems. The extension integrates mainframe-specific generative AI code analysis capabilities—such as specification, code, and test generation—within an Integrated Development Environment (IDE). You can use Mainframe Code Rewrite to rewrite legacy mainframe applications into modern cloud applications in Java, C#, or Python faster and with reduced costs.
To try Mainframe Code Rewrite, contact mainframe@google.com.
Key benefits
- Reimagine and modernize mainframe applications for the cloud: create fully modernized applications to replace legacy mainframe applications, substantially enhancing agility, scalability, and security, while reducing maintenance costs and complexity.
- Generative AI assisted code generation and specifications creation: use Gemini Code Assist, generative AI, and mainframe-specific context to analyze and reimagine legacy mainframe code into modern languages, such as Java, C#, and Python.
- Rewrite mainframe applications faster and at a lower cost: accelerate modernization timelines and boost developer productivity by generating application specifications, code, and test cases from legacy mainframe code.
- Seamless IDE integration: access powerful generative AI capabilities and customized Gemini models for modernizing mainframe applications inside an IDE.
Data collection security and privacy
Mainframe Assessment Tool only collects information extracted from the zip file that you provide. It doesn't collect personally identifiable information (PII) or data subject to Payment Card Industry (PCI) data security standard, or Health Insurance Portability and Accountability Act (HIPAA) compliance requirements.
All the collected data is used only to assess and analyze your applications for the purposes of cloud migration assessment and planning. Your data is never exported outside the VM on which it gets deployed. The source code is uploaded to Vertex AI, but the model is not enriched by information extracted from this source code.
What's next
- Learn how to prepare for discovery and assessment.