一个纯前端、零构建、单文件部署的二维码瑞士军刀,支持 生成 · 美化 · 解析 三合一,可直接在浏览器中运行,开箱即用。
🌐 在线体验: https://severinquan.github.io/qcode-toolkit/
| 功能 | 说明 |
|---|---|
| 🎨 二维码生成 | 单条 / 批量输入,支持多主题与自定义样式 |
| 🖼️ 二维码美化 | 拖入普通二维码图片,自动解析并重新渲染为精美风格 |
| 🔍 二维码解析 | 多文件拖拽识别,一键复制全部解析结果 |
| 📦 批量导出 | 支持 PNG(自定义尺寸)与 SVG 矢量格式导出 |
| 🌐 中英双语 | 界面全文案支持中文 / English 无缝切换 |
| 📄 零构建部署 | 单个 HTML 文件即可运行,无需 npm、打包或构建步骤 |
无需构建步骤,直接在现代浏览器中打开:
git clone https://github.com/SeverinQuan/qcode-toolkit.git
cd qcode-toolkit打开文件:
- macOS / Linux:
open QCodeToolkit.html - Windows:双击文件或在终端中运行
start QCodeToolkit.html
也可直接使用 GitHub Pages:
https://severinquan.github.io/qcode-toolkit/
隐私提示 二维码内容的生成、解析与美化均在浏览器端完成,不会上传至本项目服务器。
QCode Toolkit/
├── index.html # GitHub Pages 入口文件
├── QCodeToolkit.html # 主程序(单文件,直接运行)
├── README.md # 项目说明文档
├── LICENSE # MIT 开源协议
└── Doc/
├── QCodeMerged_*_施工记录_*.md # 最新施工记录
└── process_docs/ # 开发过程文档(按阶段归档)
├── phase-01-合并与基础能力落地.md
├── phase-02-二维码美化批处理能力.md
├── phase-03-界面稳定性与交互一致性.md
└── phase-04-SVG批量下载能力补充.md
- 在顶部切换至 二维码生成 标签。
- 单条模式:在输入框粘贴 URL 或文字内容,选择主题后生成二维码。
- 批量模式:输入多条内容(每行一条或批量粘贴),一键批量生成。
- 支持分别下载 PNG / SVG 格式文件。
- 切换至 二维码美化 标签。
- 将一张或多张现有二维码图片拖入识别区。
- 选择目标主题,系统会自动解析原二维码内容并重新渲染为精美样式。
- 支持单项下载(SVG / PNG)或批量下载。
- 切换至 二维码解析 标签。
- 拖入一张或多张二维码图片。
- 系统自动识别二维码内容并列出结果。
- 点击 一键复制全部结果 可批量复制解析内容。
- 👑 臻享 / 典藏:黑金、翡翠鎏金、皇家紫、星空夜色
- ✨ 基础 / 品牌:商务黑、支付宝蓝、微信绿、科技蓝
- 🏮 国风 / 雅致:素笺金朱、青花瓷、朱砂红、水墨灰黑
- 🌿 自然 / 治愈:抹茶、樱花、秋枫、冰川蓝
- 💎 极简 / 高级:深空灰、玫瑰金、摩卡咖啡
| 阶段 | 目标 | 关键成果 |
|---|---|---|
| Phase 01 | 合并与基础能力落地 | 形成统一入口,支持 PNG 导出与中英双语切换 |
| Phase 02 | 二维码美化批处理能力 | 多文件拖拽批处理,支持单项与批量下载 SVG / PNG |
| Phase 03 | 界面稳定性与交互一致性 | 三模式切换无抖动,统一最小高度基线 |
| Phase 04 | SVG 批量下载能力补充 | 生成与美化两个批量入口均支持 SVG 一键导出 |
详细记录请参阅 Doc/process_docs/。
QCode Toolkit 是一个纯前端工具,核心逻辑运行在浏览器端。当前版本主要包含:
- 单文件 HTML 页面结构
- CSS 视觉样式与响应式布局
- 浏览器端二维码生成、解析与下载逻辑
- SVG / PNG 双格式导出
- 中文 / English 双语界面切换
注:当前版本通过 CDN 加载部分前端库与字体资源,因此更准确的描述是 零构建、单文件部署,而不是严格意义上的“完全零依赖”。
-
Fork 本仓库并创建分支:
git checkout -b feature/your-feature-name
-
提交变更:
git commit -m "feat: add zip batch export" -
推送分支:
git push origin feature/your-feature-name
-
提交 Pull Request,说明改动内容、测试情况与截图。
Issue 地址:https://github.com/SeverinQuan/qcode-toolkit/issues
建议附带:
- 操作系统与浏览器版本
- 复现步骤
- 预期行为与实际行为
- 相关截图或录屏
- 控制台报错信息(如适用)
- ZIP 打包下载,减少大量文件触发浏览器多次保存提示
- 异常文件类型提示与失败项重试入口
- 移动端响应式分级最小高度策略
- 更多二维码主题与自定义颜色支持
- 完全离线版本:将字体与前端库资源本地化
- 多语言 README:English / 日本語 / 한국어 / Deutsch / Français / Português / Español
本项目基于 MIT License 开源。Copyright © 2026 QCode Toolkit Contributors
QR Code, SVG QR Code, QR Code Generator, QR Code Beautifier, QR Code Decoder, Browser Tool, Frontend Tool, JavaScript QR Code Toolkit.
A frontend-only, zero-build, single-file QR toolkit for generate · beautify · decode workflows, running directly in the browser.
🌐 Live Demo: https://severinquan.github.io/qcode-toolkit/
| Feature | Description |
|---|---|
| 🎨 QR Generation | Single or batch input with multiple themes and custom styles |
| 🖼️ QR Beautification | Drag existing QR images, decode content, and re-render with polished styles |
| 🔍 QR Decoding | Multi-file drag-and-drop recognition with one-click copy of all decoded results |
| 📦 Batch Export | Export PNG (custom size) and SVG vector formats |
| 🌐 Bilingual UI | Full Chinese/English interface switching |
| 📄 Zero-Build Deployment | Run from a single HTML file without npm or bundling |
git clone https://github.com/SeverinQuan/qcode-toolkit.git
cd qcode-toolkitOpen the app:
- macOS / Linux:
open QCodeToolkit.html - Windows: double-click the file or run
start QCodeToolkit.html
Or use GitHub Pages:
https://severinquan.github.io/qcode-toolkit/
Privacy Note QR code generation, decoding, and beautification are processed in the browser and are not uploaded to any project server.
QCode Toolkit/
├── index.html
├── QCodeToolkit.html
├── README.md
├── LICENSE
└── Doc/
├── QCodeMerged_*_施工记录_*.md
└── process_docs/
- Switch to the Generator tab.
- In single mode, paste a URL/text and choose a theme.
- In batch mode, input multiple lines and generate all at once.
- Download output as PNG or SVG.
- Switch to the Beautify tab.
- Drag one or more existing QR images.
- Select a target theme; the app decodes and re-renders automatically.
- Download items individually (PNG/SVG) or in batch.
- Switch to the Extractor tab.
- Drag one or more QR images.
- The app decodes and lists recognized content.
- Click Copy All Results for bulk copy.
- 👑 Premium: Black Gold, Emerald Gold, Royal Purple, Night Sky
- ✨ Basic/Brand: Business Black, Alipay Blue, WeChat Green, Tech Blue
- 🏮 Oriental: Ink Gold, Porcelain Blue, Vermilion, Ink Gray
- 🌿 Natural: Matcha, Sakura, Autumn Maple, Glacier Blue
- 💎 Minimal: Deep Space Gray, Rose Gold, Mocha
| Phase | Goal | Key Result |
|---|---|---|
| Phase 01 | Merge + foundation | Unified entry, PNG export, bilingual switch |
| Phase 02 | Beautify batch workflow | Multi-file batch handling with SVG/PNG downloads |
| Phase 03 | UI stability | Smooth mode switching and unified min-height baseline |
| Phase 04 | SVG batch export enhancement | One-click SVG export in generator and beautify batch flows |
Detailed notes: Doc/process_docs/
QCode Toolkit is a browser-side frontend tool. Current version includes:
- Single-file HTML app structure
- CSS styling and responsive layout
- Browser-side QR generation/decoding/download logic
- Dual export formats: SVG and PNG
- Chinese/English UI switching
Note: Some frontend libraries and fonts are loaded via CDN. The most accurate description is zero-build, single-file deployment, rather than strictly “zero dependency”.
- Fork the repo and create a feature branch.
- Commit your changes.
- Push to your fork.
- Open a Pull Request with change summary, tests, and screenshots.
Recommended commit style: Conventional Commits
Submit issues at: https://github.com/SeverinQuan/qcode-toolkit/issues
Please include:
- OS and browser version
- Reproduction steps
- Expected vs actual behavior
- Screenshots or recordings
- Console errors (if any)
- ZIP archive export to reduce repeated browser save prompts
- Better invalid-file feedback and retry entry points
- Mobile responsive min-height strategy by breakpoint
- More themes and custom color options
- Fully offline package (local fonts and libs)
- More README languages
Released under MIT License. Copyright © 2026 QCode Toolkit Contributors