IBM i  /  AS/400  /  RPGLE

Modernise your
fixed-format RPG
in seconds

rpgconvert.io automatically converts RPG III and fixed-format RPGLE to fully free-format source. Accurate, instant, and built by IBM i developers for IBM i developers.

570+ Test cases passing
6 Spec types handled
100% Runs in your browser
CUSTMAINT.rpgle
Before — Fixed Format
     H DFTACTGRP(*NO)
     FCUSTFILE   IF   E  K DISK
     D CustName       S             50A
     D CustBal        S              9P 2
     C                   CHAIN     CustKey
     C                   IF        %FOUND
     C                   EVAL      CustBal=0
     C                   UPDATE    CUSTREC
     C                   ENDIF
     C                   EVAL      *INLR=*ON
After — Fully Free
ctl-opt DFTACTGRP(*NO);
dcl-f CUSTFILE disk keyed;

dcl-s CustName char(50);
dcl-s CustBal packed(9:2);

chain CustKey CUSTFILE;
if %found(CUSTFILE);
  CustBal = 0;
  update CUSTREC;
endif;
return;

Three steps to modernised code

No installation, no configuration, no risk. Your source code never leaves your browser.

01

Upload or paste your source

Drop in a raw RPGLE source member, a SEU export, or even a printed spool file listing. We handle all common AS/400 source formats automatically.

02

Convert in milliseconds

Our conversion engine — built on 570+ test cases — handles H, F, D, C, and P specs. All opcodes, indicators, BIFs, and continuation lines are processed accurately.

03

Download ready-to-compile code

Copy to clipboard or download a clean .rpgle file ready to load into RDi, VS Code, or directly into your IFS. Any unconverted patterns are clearly flagged.

Everything the conversion requires

Built specifically for the IBM i ecosystem — not a generic code formatter.

🧠

Full spec coverage

H-specs to ctl-opt, F-specs to dcl-f, D-specs to dcl-s/dcl-ds, C-spec opcodes, and P-spec procedure boundaries — all handled.

📋

Spool file support

Automatically detects and strips PRTSRC spool listing headers, sequence numbers, and date columns before converting.

BIF modernisation

Upgrades legacy opcodes to modern BIFs where possible: MOVE/MOVEL to assignments, Z-ADD to simple eval, and more.

📊

Indicator conversion

*IN01–*IN99, *INLR, *INOF and conditioning indicators are all resolved to readable boolean expressions.

🔒

Runs entirely in-browser

Your source code is never uploaded to a server. Conversion happens locally in your browser — safe for proprietary and client code.

💬

Clear TODO markers

Complex patterns that need manual review are flagged with [TODO:] comments so nothing is silently lost or misconverted.

What rpgconvert.io handles

Opcodes & Constructs
  • DOW / DOU / FOR loops with all variants
  • IF / ELSEIF / ELSE / ENDIF
  • SELECT / WHEN / OTHER / ENDSL
  • CHAIN, READ, READE, READP, WRITE, UPDATE, DELETE
  • SETLL, SETGT, EXFMT, OPEN, CLOSE, UNLOCK
  • EXSR, BEGSR, ENDSR, LEAVESR
  • CALL, CALLP, PARM, RETURN
  • EVAL, EVALR, Z-ADD, Z-SUB, ADD, SUB, MULT, DIV
  • MOVE, MOVEL, MOVEA (with guidance)
  • COMP, CASxx, ANDxx, ORxx
  • SUBST, SCAN, XLATE, CAT, CHECK, CHECKR
  • SETON, SETOF for *INLR and indicators
Source Formats & Features
  • RPG III (fixed-format only)
  • RPGLE fixed-format
  • Mixed /FREE and fixed-format source
  • SEU sequence numbers (000100, 000200…)
  • PRTSRC / DSPF spool file listings
  • Qualified data structures (QUALIFIED keyword)
  • Multiple-occurrence data structures (OCCURS)
  • INFDS and file information DS
  • Procedure interfaces (dcl-pi / dcl-pr)
  • ILE service program exports
  • Prototyped calls with OPTIONS(*NOPASS)
  • Compiler directives (/IF, /DEFINE, /COPY)

Simple, transparent pricing

Start free. Upgrade when you need more.

Free
$0 / forever

Perfect for trying it out or occasional conversions.

  • 3 conversions per day
  • Any file size
  • All spec types
  • Copy to clipboard
  • Download .rpgle file
  • Conversion history
  • Batch upload
Start Free
Enterprise
$99 / month

For teams with large legacy codebases to migrate.

  • Everything in Pro
  • Up to 10 team seats
  • Unlimited batch upload
  • Conversion history (unlimited)
  • Priority support
  • Custom onboarding
  • API access (coming soon)
Contact Us

What IBM i developers say

Converted a 4,000-line order processing program in under a minute. What would have taken days of manual work was done before my coffee got cold.

MK
Mike K.
Senior IBM i Developer, Manufacturing

Finally a tool that actually understands RPG III source — not just RPGLE. The spool file detection alone saved us hours of pre-processing.

SL
Sarah L.
Systems Programmer, Financial Services

The TODO markers are a smart design choice — I know exactly what needs manual review instead of hunting for silent conversion errors.

RB
Rob B.
IBM i Architect, Retail

Start modernising your RPG today

No sign-up required for free tier. Your code never leaves your browser.

▶  Open the Converter