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.
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
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;
No installation, no configuration, no risk. Your source code never leaves your browser.
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.
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.
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.
Built specifically for the IBM i ecosystem — not a generic code formatter.
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.
Automatically detects and strips PRTSRC spool listing headers, sequence numbers, and date columns before converting.
Upgrades legacy opcodes to modern BIFs where possible: MOVE/MOVEL to assignments, Z-ADD to simple eval, and more.
*IN01–*IN99, *INLR, *INOF and conditioning indicators are all resolved to readable boolean expressions.
Your source code is never uploaded to a server. Conversion happens locally in your browser — safe for proprietary and client code.
Complex patterns that need manual review are flagged with [TODO:] comments so nothing is silently lost or misconverted.
Start free. Upgrade when you need more.
Perfect for trying it out or occasional conversions.
For developers actively modernising a codebase.
For teams with large legacy codebases to migrate.
No sign-up required for free tier. Your code never leaves your browser.
▶ Open the Converter