Vietnamese Banking QR Code Generator

Vietnamese Banking QR Code Generator

For testing vietnamese QR code for banking

Nuxt

Overview

The Vietnamese Banking QR Code Generator is a small utility I built to quickly create and test VietQR payment codes without going through a banking app. Give it a bank, an account number, and an optional amount or message, and it renders a QR code that any Vietnamese banking app can scan to pre-fill a transfer.

It started as a throwaway script for testing payment flows, but turned out useful enough to keep around as a standalone tool.

What It Does

  • Generates VietQR-compatible codes following the Napas 247 / EMVCo QR specification used across Vietnamese banks.
  • Encodes the recipient bank (BIN), account number, and optional transfer amount and remark.
  • Renders the QR live in the browser so you can scan and verify it instantly with a real banking app.
  • Useful for testing payment integrations, generating static "buy me a coffee" codes, or sharing account details without typing them out.

How It Works

VietQR is built on the EMVCo merchant-presented QR standard. Each code is a structured string of tag-length-value fields that carry the bank identifier, account number, currency (704 = VND), and an optional amount, terminated by a CRC-16 checksum.

The generator assembles these fields client-side, computes the checksum, and feeds the resulting payload into a QR renderer. Because everything happens in the browser, no account data is ever sent to a server.

Tech Stack

Built with Nuxt for a fast, file-based single-page app, with the QR payload assembled in plain TypeScript. It is deployed as a static site, so it loads instantly and runs entirely on the client.

Note: this is a personal testing tool, not an official banking product. Always verify the generated code with a small transfer before relying on it.