VS Code Extensions
SWIFT Message Viewer

SWIFT Message Viewer

by KewwyXu

View and edit SWIFT MT messages in a human-readable table format with validation

Downloads

14

Rating

— (0)

Version

0.1.3

Last updated

Jun 11, 2026

SWIFT Message Viewer Screenshot

A VS Code extension that parses SWIFT MT messages and presents them in a human-readable, editable table view with real-time validation.

Features

  • Table view — opens .mt and .swift files in a structured, readable table layout
  • Inline editing — edit tag values directly in the table; changes sync back to the source file
  • Real-time validation — structural, tag-level, and value-level validation with error/warning indicators
  • Reference regeneration — regenerate reference fields automatically
  • Command Palette support — open the viewer for any file via Swift Message: Open Viewer

Supported Message Types

Type Description
MT101 Request for Transfer
MT541 Receive Against Payment
MT910 Confirmation of Credit
MT940 Customer Statement Message
MT942 Interim Transaction Report

Usage

  1. Open a .mt or .swift file — the viewer activates automatically
  2. Or run Swift Message: Open Viewer from the Command Palette (Ctrl+Shift+P) on any file
  3. Edit tag values inline in the table
  4. Validation runs automatically on open and after each edit (500ms debounce)
  5. Run Swift Message: Validate manually from the Command Palette at any time

Keybindings

  • Ctrl+Shift+M (Mac: Cmd+Shift+M) — Open Viewer
  • Ctrl+Shift+V (Mac: Cmd+Shift+V) — Manual Validation

Validation

The extension validates messages at three levels:

  • Structural — block delimiters, Block 4 terminator (-}), tag syntax
  • Tag-level — mandatory/optional tags per MT type, sequence rules
  • Value-level — field format checks (length, character set, date/amount formats)

Errors and warnings are shown in a banner at the top of the viewer and highlighted inline.

Requirements

  • VS Code 1.85.0 or later

Extension Settings

This extension does not contribute any configurable settings.

Release Notes

0.1.0

Initial release with support for MT101, MT541, MT910, MT940, and MT942 message types.

Related extensions