# Refactual

> Refactual is the AI-powered code modernization platform. Paste any repo URL or document, choose your goals, and ship the modernized result as a reviewable PR or structured JSON. Built for SMBs and enterprises modernizing legacy stacks across code, data, ecommerce, infrastructure, and services.

## Sites & apps

- [Marketing site](https://www.refactual.com) — product overview, pricing, blog, migration guides, status.
- [App workspace](https://app.refactual.com) — the signed-in Refactual product surface.
- [Help center](https://app.refactual.com/docs) — user docs for every product.
- [Status page](https://www.refactual.com/status) — public uptime + incidents.
- [Refactual for iOS — Download on the App Store](https://apps.apple.com/us/app/refactual/id6778148770) — the Refactual workspace on iPhone and iPad: chat, whole-repo refactors, repo analysis, and job notifications on the go. Free download; optional in-app purchases.
- Refactual for Android — coming soon to Google Play.

## Core products

- [Refactor](https://app.refactual.com/refactor) — Whole-repo modernization → one PR. Paste a GitHub / GitLab / Bitbucket URL or use a connected integration; choose modernize / performance / security / type-safety / tests goals; ship the result as a reviewable PR with one commit per file. Supports COBOL, Fortran, Perl, VB6, jQuery, Java 7, PHP 5, Python 2, and 30+ source-and-target languages.
- [Repos](https://app.refactual.com/repos) — Modernization scoring + ranked tech-debt + Auto-Fix. Drop a repo URL; get a 0-100 score, severity-ranked findings across language idioms, type safety, security posture, performance, test coverage, dependency health, and build hygiene. Bulk Auto-Fix groups related fixes into PRs by concern.
- [Parser](https://app.refactual.com/parser) — PDFs and documents → structured JSON. Upload PDFs / images / Word docs / spreadsheets; define output schema as JSON Schema or natural language; get validated JSON. Built for invoice extraction, contract review, resume parsing, receipts, form intake, catalog scraping.
- [Stores](https://app.refactual.com/stores) — Connected ecommerce intelligence. Connect Shopify (more platforms rolling out) for unified revenue / orders / AOV / top-products / customer-LTV dashboards plus chat tools that query live store data with citations.
- [Apps Marketplace](https://app.refactual.com/apps) — 15+ integrations under one OAuth or API-key flow: GitHub, GitLab, Bitbucket Cloud, Slack, Linear, Jira, Notion, Confluence, Sentry, Datadog, PagerDuty, Discord, Shopify, BigCommerce, WooCommerce, Magento. Each unlocks specific in-app capabilities (chat tools, PR push, audit Auto-Fix, channel notifications).
- [Developer Portal](https://app.refactual.com/developer/docs) — REST API + official TypeScript / Python / Go SDKs + npm CLI + Model Context Protocol server. The MCP server lets Claude, Cursor, Continue, and any MCP-aware agent call Refactual's engines as tools. Webhooks fire signed events for every chat, refactor, analysis, and document job.

## Specialty products

- [Audit](https://www.refactual.com/audit) — AI-readiness scanner. Free per-IP (5/hour anonymous, unlimited signed-in). Checks 30+ findings across structured-data depth (JSON-LD), agentic-commerce protocols (Google UCP, Shopify Agentic Commerce, OpenAI shopping), AI-bot crawlability (GPTBot, ClaudeBot, PerplexityBot, llms.txt), Open Graph, and client-rendered detection. Auto-Fix ships the fixes via Shopify Admin API or GitHub PR.
- [Campaigns](https://www.refactual.com/campaigns) — AI email design with Brand-DNA extraction and AI imagery, sent from your own verified sending domain through Refactual's built-in email service with delivery + open/click tracking. Triggers, audiences, analytics, WYSIWYG editor.
- [Monitor](https://www.refactual.com/monitor) — auth-aware web change monitoring. DOM-level extraction, HTML diffs, criteria checks, and alerts when watched pages change.
- [Flows](https://www.refactual.com/flows) — cross-product automation: triggers, multi-step actions, schedules, and webhooks that wire Refactual products together.
- [Previews](https://www.refactual.com/previews) — preview how an email or page renders before shipping. Self-contained React/Vue/HTML renderers, error-recovery, version history.
- [Domains](https://www.refactual.com/domains) — AI agent for criteria-driven domain discovery. Tell it what kind of domain you want; it scours availability, ranks candidates, and notifies on new matches via subscriptions.
- [Database](https://www.refactual.com/database) — Database-migration scoping. Cross-DB schema translation (MySQL ↔ PostgreSQL ↔ Oracle ↔ SQL Server ↔ MongoDB ↔ Supabase), application-layer audit for type-coercion landmines, replication topology generation for zero-downtime cutover.
- [Websites](https://www.refactual.com/websites) — AI-readiness deep-dive for content sites (general-mode counterpart to Audit). Article schema, FAQ, HowTo, security headers, third-party-script audit, hreflang validity, robots.txt AI-bot rules.

## Platform layers (private beta)

- [Forge](https://www.refactual.com/forge) — Database migration platform layer. Schema translation, dialect-aware query rewriting, zero-downtime cutover patterns.
- [Loft](https://www.refactual.com/loft) — Infrastructure migration platform layer (AWS first; GCP/Azure on roadmap). Workload classification by AWS 7-Rs framework, network bridge planning, Terraform/Pulumi generation, cost forecasting.
- [Mesh](https://www.refactual.com/mesh) — Microservices extraction platform layer. Strangler-fig extraction from monoliths, bounded-context analysis, service-mesh decisions, database decoupling discipline. Includes stop-criteria guidance for when to stay a modular monolith.

## Migration guides

- [Browse migration guides](/migrate) — COBOL → C#, MySQL → Postgres, jQuery → React, monolith → microservices, and more.

## Blog

- [Finding Forgotten Subdomains Before Attackers Do With Refactual Domains](/blog/forgotten-subdomains-shadow-infrastructure-refactual-domains)
- [How to Audit Your Site for AI Crawlers, JSON-LD, and llms.txt](/blog/audit-site-ai-readiness-json-ld-llms-txt-crawlability-4)
- [Building on the Refactual API and MCP Server Without Getting Lost](/blog/building-on-refactual-api-mcp-server-developer-portal-2)
- [Connect 15 Tools Through One OAuth Flow Inside Chat](/blog/connect-15-tools-one-oauth-flow-refactual-apps-marketplace-11)
- [Managing Multiple Shopify Stores Without Losing Your Mind](/blog/managing-multiple-shopify-stores-refactual-stores-dashboard-4)
- [Turn Messy PDFs Into Clean JSON Without Paying Per-Page LLM Fees](/blog/pdf-to-json-structured-parsing-refactual-parser)
- [Turn Your Repository Modernization Score Into Shipped Code](/blog/repository-modernization-score-autofix-refactual-repos-6)
- [Modernize an entire repo in one pull request with Refactual Refactor](/blog/modernize-entire-repo-one-pull-request-refactual-refactor-10)
- [How to Monitor Competitor Pages and Auth-Gated Content Without Breaking](/blog/monitor-competitor-pages-auth-gated-content-refactual-6)
- [Stop Guessing: Preview Email and Page Rendering Before You Ship](/blog/preview-email-page-rendering-before-sending-refactual-2)
- [Extract Brand DNA and Generate On-Brand Email Campaigns with AI](/blog/extract-brand-dna-generate-on-brand-email-campaigns-ai-2)
- [Why Your Website Is Invisible to AI Agents and How to Fix It](/blog/ai-readiness-structured-data-review-refactual-websites-5)
- [Cross-Database Schema Migration With Zero-Downtime Cutover Using Refactual Database](/blog/cross-database-schema-migration-zero-downtime-refactual-4)
- [Finding Forgotten Subdomains With an AI Domain-Discovery Agent](/blog/finding-forgotten-subdomains-ai-domain-discovery-agent-6)
- [Scanning Your Site for AI Readiness: JSON-LD, llms.txt, and Agent Crawlability](/blog/ai-readiness-audit-json-ld-llms-txt-agent-crawlability-5)
- [How to Build on the Refactual API Without Reading Every Doc Twice](/blog/build-on-refactual-api-without-reading-every-doc-twice)
- [Connect 15 Tools Through One OAuth Flow Inside Your Chat](/blog/connect-15-tools-one-oauth-flow-refactual-apps-marketplace-10)
- [Managing Multiple Shopify Stores Without Losing Your Mind](/blog/managing-multiple-shopify-stores-refactual-stores-dashboard-3)
- [Turn Messy PDFs Into Clean JSON Without Paying Per-Page LLM Costs](/blog/pdf-to-json-structured-extraction-refactual-parser-10)
- [Turn Your Repository Modernization Score Into Shipped Code](/blog/repository-modernization-score-autofix-refactual-repos-5)
- [Modernize an Entire Repository Into One Reviewable Pull Request](/blog/modernize-entire-repository-one-pull-request-refactual-refac-2)
- [Tracking competitor pages and auth-gated content with Refactual Monitor](/blog/tracking-competitor-pages-auth-gated-content-refactual-monit-2)
- [Stop Guessing How Your Email Renders Across Every Client](/blog/email-rendering-cross-client-preview-refactual-previews)
- [Extract Brand DNA and Generate On-Brand Email Campaigns with AI](/blog/brand-dna-extraction-ai-email-campaigns-refactual)
- [AI Agents Can't Read Your Site: Fixing Structured Data Now](/blog/ai-readiness-structured-data-review-refactual-websites-4)
- [Cross-Database Schema Migration With Zero-Downtime Cutover Using Refactual Database](/blog/cross-database-schema-migration-zero-downtime-refactual-data-6)
- [Finding Forgotten Subdomains with an AI Domain-Discovery Agent](/blog/ai-domain-discovery-forgotten-subdomains-shadow-infrastructu-6)
- [How to Audit Your Site for AI-Readiness: JSON-LD, llms.txt, and Agent Crawlability](/blog/audit-site-ai-readiness-json-ld-llms-txt-agent-crawlability)
- [How to Build on the Refactual API, SDKs, and MCP Server Fast](/blog/building-on-refactual-api-sdks-mcp-server-2)
- [Connect 15+ SaaS Tools Through One OAuth Flow Inside Chat](/blog/connect-saas-tools-one-oauth-flow-refactual-apps-marketplace)

## Pricing & legal

- [Pricing](/pricing)
- [Terms of service](/terms)
- [Usage policy](/usage-policy)
- [Data processing addendum](/dpa)
- [Privacy policy](/privacy)
