IBM i  /  AS400  /  RPG  /  ILE  /  CL  /  SQLRPGLE

You have RPG programs
nobody fully understands anymore.

Undocumented code. No time to review it properly. An audit, a change request, or a modernisation project — and the developer who wrote it left years ago.

⟨/⟩
Understand in 30 seconds
Plain-English explanation of any RPG program
Find hidden risks
Risk findings your team has missed for years
Instant documentation
Audit-ready Word & PDF export in one click
Modernise RPG code
Convert fixed-format to free-format ILE RPG
Try it free — no credit card Who built this?

No installation  ·  Free plan available  ·  Your code never leaves your browser

RPGLENS  —  IBM i CODE INTELLIGENCE PLATFORM
⎙ Analyser — 5 tabs: explain · document · risk · modernise · dependencies
C     CustId        CHAIN     CUSTMAST
C                   IF        %FOUND
C     CRTYPE        IFEQ      'G'
C                   EVAL      Disc = 0.15
C                   ELSE
C                   EVAL      Disc = 0.05
C                   ENDIF
C                   ENDIF
Risk (1 of 3 found)
⚑ Hardcoded literal 'G' — use named constant. Risk: HIGH
→ Flagged for manual review · Not auto-fixed (business logic)
⇄ Converter — fixed format → free format ILE RPG
**FREE
CHAIN CustId CUSTMAST;
IF %FOUND(CUSTMAST);
  IF CRTYPE = 'G';
    Disc = 0.15;
  ELSE;
    Disc = 0.05;
  ENDIF;
ENDIF;
Converted
✓ Fixed C-specs → free format  ·  IFEQ → IF  ·  EVAL removed
RPG III & IV Free-format ILE Fixed-format RPG .rpgle files CL Programs SQLRPGLE DSPF & PRTF Service Programs Activation Groups Data Queues OPNQRYF *LIBL Resolution Job Scheduling RPG III & IV Free-format ILE Fixed-format RPG .rpgle files CL Programs SQLRPGLE DSPF & PRTF Service Programs Activation Groups Data Queues OPNQRYF *LIBL Resolution Job Scheduling
30s
avg. analysis time
5
tools built for IBM i teams
100k+
active IBM i shops globally
0
lines of code stored by us
Core capabilities

Five tools built for
IBM i professionals.

Not a generic AI wrapper — every feature is built specifically for RPG, CL, DDS, and IBM i workflows. Each tool solves a real problem that currently costs your team hours of manual work.

★ FLAGSHIP FEATURE
Fixed → Free Format Converter

The most requested feature in IBM i modernisation. Paste your legacy fixed-format RPG III or RPG IV and get clean, modern free-format ILE RPG output — with modernised op-codes (MOVE→EVAL, COMP→IF), built-in functions, and a full review of anything that needs manual attention. What used to take a developer 2–3 days now takes minutes.

RPG III → ILE RPG Fixed → Free format Op-code modernisation BIF introduction Manual review flagging PDF / SEU file upload
⇄ Try the converter free
BEFORE  ·  Fixed-format RPG IV
C     CustId   CHAIN    CUSTMAST
C              IF       %FOUND
C     CRTYPE   IFEQ     'G'
C              Z-ADD    15    Disc
C              ELSE
C              Z-ADD    5     Disc
C              END
C              END
AFTER  ·  Free-format ILE RPG
**FREE
CHAIN CustId CUSTMAST;
IF %FOUND(CUSTMAST);
  IF CRTYPE = 'G';
    Disc = 15;
  ELSE;
    Disc = 5;
  ENDIF;
ENDIF;
⚡ ALL PLANS
BRD → TDD Generator

Upload a Business Requirements Document and get a complete IBM i Technical Design Document in minutes. Program specs, DDS file layouts, CL job flow, data structures, and test scenarios — all IBM i specific.

Try BRD → TDD →
✥ ALL PLANS
TDD → Code Generator

Turn any TDD into actual IBM i source code. Generates RPG free-format skeletons, CL programs, DDS physical and logical files — ready to compile and extend. Connects to IBM i Live Connect on Team plan.

Try TDD → Code →
⚲ TEAM PLAN EXCLUSIVE
IBM i Live Connect

Connect RPGLens directly to your IBM i system. Browse source members, monitor active jobs, explore object libraries — and click any source member to analyse it instantly. Works with firewalled systems via our secure tunnel mode. No credentials stored. No inbound ports required.

Browse source members Monitor active jobs Object explorer One-click analysis Tunnel mode for firewalls
Available on Team plan ($149/month) and Enterprise
⚲ IBM i LIVE CONNECT — SOURCE BROWSER
RPGLE SAR248 Sales order processor Analyse →
CLLE STRJOBQ Start job queue CL Analyse →
RPGLE WITHDRAWAL Bank withdrawal handler Analyse →
DEVLIB / QRPGLESRC  ·  247 members  ·  Last synced just now
01
⟨/⟩
Code explainer
Paste code or upload a file — fixed format, free format, ILE, OPM, PDF spool file. Get a plain-English walkthrough: inputs, outputs, business logic, and data flow. No prompting required.
All users
02
Documentation generator
One click to export a structured Word (.docx) or PDF document: program overview, file declarations, field descriptions, logic walkthrough, and metadata. Audit-ready out of the box.
Managers & auditors
03
Risk analyser
Identifies dead code, hardcoded literals, deprecated op-codes, undocumented subroutines, and data integrity risks — each flagged HIGH / MEDIUM / LOW with a clear explanation of why it matters.
Developers & auditors
04
Modernisation advisor
A phased roadmap: what to convert to free-format, what could become a REST API, what can be retired. Includes effort estimates and complexity scores — ready to present to leadership.
Managers & developers
05
Dependency mapper
Complete dependency analysis — every file, called program, data area, subroutine, and entry parameter. Includes an impact analysis summary and a visual program flow diagram. Essential before any change request.
Developers & architects
Process

Simple to use.
Powerful results.

01
Paste or upload
Paste code directly, or upload a .rpgle, .txt, .docx, or .pdf file — including IBM i SEU spool file PDFs. Supports fixed-format RPG III/IV, free-format ILE, CL, and SQLRPGLE.
02
Choose your tool
Analyser for 5-tab code intelligence. Converter for fixed→free format. BRD→TDD for design documents. TDD→Code for skeletons. IBM i Connect for live system access.
03
Review results
Analysis results appear in 15–30 seconds across tabbed panels. Conversion output is clean, compilable free-format RPG with a full review log of every change made.
04
Export & share
Download analysis or TDD as Word/PDF. Download generated code as .rpgle, .clle, .pf files ready for RDi. On Team plan, push source directly to your IBM i via Live Connect.
Security & privacy

Your source code never
leaves your browser.

This isn't a marketing claim — it's how the architecture works. There is no RPGLens server that receives your code.

Data flow
Your browser
Anthropic API (TLS)
Code travels here — encrypted, never logged by us
RPGLens servers
Your code
This path does not exist
Analysis result
Your screen + local export
Output returned directly to you
Zero server storage
RPGLens has no backend server in V1. The AI call goes directly from your browser to Anthropic's API. We physically cannot store your code because we never receive it.
No AI training on your code
Anthropic's API does not use inputs for model training by default — this is documented in their published API usage policy. Your proprietary logic stays proprietary.
Enterprise on-premise (roadmap)
For banks and regulated industries: V2 will offer a fully on-premise edition that runs inside your own network, calling a local LLM. Your code never leaves your firewall.
What users say

Trusted by IBM i professionals

"
"I recently tried RPGLens and it really made my work easier. I was analysing RPG code and it saved me a lot of time. The phase-wise breakdown made things very clear. It helped me understand code in a more readable format — and the PDF export too. Really appreciate the effort put into building this."
PH
Prashant Hasaragundgi
AS400/iSeries RPGLE · CLLE · COBOL · DB2 · Modernisation Specialist
VERIFIED USER
Pricing

Pay less than one hour
of developer time.

Launch pricing — locked in for early adopters. Billed in INR at checkout. No credit card required to start.

Free
₹0
forever
  • 3 analyses per month
  • 1 conversion per month
  • Up to 500 lines per conversion
  • Plain English explanation
  • Word & PDF export
Team
$149/mo
₹12,999 INR  ·  5 seats
  • 150 analyses per month
  • 20 conversions per month
  • Up to 2,000 lines per conversion
  • 5 user seats
  • ⚡ BRD → TDD generator
  • ✥ TDD → Code generator
  • ⚲ IBM i Live Connect
  • Custom branding on docs
  • Priority support
Enterprise
Custom
on-premise available
  • Unlimited analyses & conversions
  • Unlimited seats
  • On-premise / air-gapped
  • SSO & SLA
  • Dedicated onboarding
  • DPA & compliance docs
Who built this

Built by an IBM i practitioner.
Not a software company.

RPGLens exists because I spent 17 years watching teams struggle with the same problems — undocumented code, manual risk reviews, and modernisation projects that stall because nobody understands the existing system well enough to change it.

YA
Y.B. Audi
IBM i SUBJECT MATTER EXPERT

17 years of hands-on IBM i experience across RPG, CL, DDS, DB2 for i, and system architecture. I have worked in production IBM i environments across retail, finance, and manufacturing — the same industries that rely on this platform most heavily.

RPGLens is built on the same knowledge base I use in real modernisation assessments. Every risk rule, every effort estimate, and every prompt reflects how IBM i systems actually behave in production.

17 years IBM i / AS400 experience
Technical author — IBM i Reference Pages Blog
Hyderabad, India  ·  Serving IBM i teams globally
Why you can trust RPGLens
Validated at 90%+ accuracy by a seasoned IBM i practitioner on real production programs
Your source code never touches our servers — sent directly to the AI API over HTTPS
Built and maintained by an IBM i professional — not a web developer, not outsourced
Featured on the IBM i Reference Pages Blog — the #1 resource for IBM i professionals
Get in touch
Questions, enterprise pricing, or a feature you need? I read every message personally.
audithesecond@gmail.com in linkedin.com/in/y-b-audi-8ab45559 IBM i Reference Pages Blog — Articles
Take the first step

Your next audit, change request,
or modernisation project starts here.

Paste any RPG program and see exactly what RPGLens finds — risk findings, plain-English explanation, dependencies, modernisation roadmap. Free. No installation. No credit card. Results in 30 seconds.

Try it free now Who built this? →

Validated at 90%+ accuracy  ·  Free plan available  ·  Your code never leaves your browser