Text Field Transformer

AnkiWeb addon 1314064850

Transforms selected or all note fields in Anki via the browser context menu using case changes, replacement, sequential IDs, or custom Python lambdas.
AI-generated summary; may contain mistakes.

note-management

Open on AnkiWeb GitHub Find alternatives

AnkiWeb

Votes
1 (👍 1 · 👎 0)
Updated
2025-12-13
Anki versions
25.09.2~
License
Not found (this does not mean that the addon has no license)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
vi

Maintenance

stale

  • Last update or commit: 2025-12-13 (323 days before the snapshot).
  • Commits in the last year: 7.
  • Issues: 0 open, 0 closed.
  • Pull requests: 0 open, 0 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
25.01.125.09.2+2025-12-13
History across monthly snapshots

Loading…

Similar addons

Copy Text Field to Clipboard

Adds right-click Browser options to copy a selected field from multiple notes to the clipboard, either as clean plain text with header and Note ID or as raw HTML.

exportnote-management

7 votes 49% approval 👍 6 · 👎 1 Anki 2.1.1~ Updated 2025-10-27
AnkiBulk

Bulk-adds many notes at once via an editable table or YAML text view, exporting to the clipboard for LLMs or spreadsheets, using existing notes as context.

card-creationnote-management

2 votes 44% approval 👍 3 · 👎 0 ⭐ 0 Anki 26.05~ Updated 2026-08-05
𝕾 Selected Notes to Structured Text (for LLMs)

Exports selected Anki notes as LLM-friendly structured text—copyable or saved—preserving field contents unchanged while including note type, deck path, and optionally tags.

export

2 votes 34% approval 👍 2 · 👎 0 ⭐ 3 Anki 26.09~ Updated 2026-08-24

Description

🧩 Text Field Transformer for Anki / Công cụ Chuyển đổi Text field cho Anki

English | Tiếng Việt

🇬🇧 English Description

Transform your Anki note fields easily — lowercase, uppercase, title case, trim, sequential IDs, or even custom Python lambdas.

🚀 Features

  • Apply transformations to selected notes or all notes.
  • Built-in types: lower, upper, capitalize, title, strip, replace, remove, prepend, append.
  • Sequential IDs NEW!: Automatically assign valid sequential IDs (e.g., JPVC_001, JPVC_002) to selected cards.
  • Custom Python lambda: Advanced users can write their own transformation logic (e.g., lambda x: x[::-1]).
  • Integrations:
    • Browser Context Menu: Select notes -> Right-click -> Transform Field...

🧠 Usage

General Transformations

  1. Open Anki Browser and select the notes you want to edit.
  2. Click Edit and go to Transform Field....
  3. Choose the target Field (e.g., "Front").
  4. Choose the Transformation Type (e.g., lower, replace, etc.).
  5. Click Apply Transformation.

🔢 How to use Sequential ID (New)

  1. Select multiple notes in the Browser. The order matters (IDs will be assigned top-to-bottom).
  2. Right-click -> Transform Field....
  3. Select Transformation Type: add_id (Sequential ID).
  4. Enter a Prefix in the input box (e.g., JPVC_).
  5. Click Apply Transformation.
    • Result: JPVC_001, JPVC_002, JPVC_003...
    • Note: If you select >1000 cards, it automatically adjusts padding (e.g., JPVC_0001).

⚠️ Notes

  • Backup: Always back up your collection before performing bulk operations.
  • Undo: You can use Anki's Undo feature (Ctrl+Z) if you make a mistake immediately after applying.

🇻🇳 Hướng dẫn Tiếng Việt

Công cụ giúp bạn thay đổi hàng loạt nội dung trong các trường (field) của thẻ Anki một cách dễ dàng — đổi chữ hoa/thường, tìm kiếm & thay thế, thêm ID tự động, hoặc dùng code Python tùy chỉnh.

🚀 Tính năng nổi bật

  • Chuyển đổi hàng loạt: Áp dụng cho các thẻ đang chọn hoặc toàn bộ thẻ.
  • Các kiểu chuyển đổi:
    • lower (chữ thường), upper (IN HOA), capitalize (Viết hoa chữ đầu).
    • replace (Tìm & Thay thế), remove (Xóa văn bản), prepend/append (Thêm đầu/cuối).
  • Sequential IDs (Mới): Tự động đánh số thứ tự ID cho thẻ (ví dụ JPVC_001, JPVC_002).
  • Tùy chỉnh cao: Hỗ trợ viết hàm Python lambda (ví dụ lambda x: x.replace('a', 'b')).

🧠 Cách sử dụng

Chức năng cơ bản

  1. Mở Trình duyệt (Browser) của Anki và quét chọn các thẻ cần sửa.
  2. Chọn Edit -> Chọn Transform Field....
  3. Chọn Field (Trường) muốn sửa (ví dụ: "Mặt trước").
  4. Chọn Transformation Type (Kiểu chuyển đổi).
  5. Nhấn Apply Transformation.

🔢 Cách đánh số ID tự động (Tính năng mới)

  1. Chọn các thẻ trong Browser (Thứ tự chọn/sắp xếp sẽ quyết định số thứ tự).
  2. Chuột phải -> Transform Field....
  3. Chọn kiểu: add_id (Sequential ID).
  4. Nhập Prefix (Tiền tố) vào ô nhập liệu (ví dụ: JPVC_).
  5. Nhấn Apply Transformation.
    • Kết quả: Các thẻ sẽ được đánh số JPVC_001, JPVC_002, JPVC_003...
    • Lưu ý: Code tự động tính toán số lượng số 0 dựa trên tổng số thẻ bạn chọn (ví dụ chọn 1500 thẻ sẽ thành JPVC_0001).

⚠️ Lưu ý quan trọng

  • Sao lưu: Luôn backup dữ liệu trước khi chỉnh sửa hàng loạt để tránh rủi ro.
  • Hoàn tác: Nếu lỡ tay làm sai, bạn có thể nhấn Ctrl+Z (Undo) trong Anki để quay lại trạng thái cũ ngay lập tức.

README

🧩 Text Field Transformer for Anki / Công cụ Chuyển đổi Văn bản cho Anki

English | Tiếng Việt


🇬🇧 English Description

Transform your Anki note fields easily — lowercase, uppercase, title case, trim, sequential IDs, or even custom Python lambdas.

🚀 Features

  • Apply transformations to selected notes or all notes.
  • Built-in types: lower, upper, capitalize, title, strip, replace, remove, prepend, append.
  • Sequential IDs NEW!: Automatically assign valid sequential IDs (e.g., JPVC_001, JPVC_002) to selected cards.
  • Custom Python lambda: Advanced users can write their own transformation logic (e.g., lambda x: x[::-1]).
  • Integrations:
    • Browser Context Menu: Select notes -> Right-click -> Transform Field...

🧠 Usage

General Transformations

  1. Open Anki Browser and select the notes you want to edit.
  2. Right-click and go to Transform Field....
  3. Choose the target Field (e.g., "Front").
  4. Choose the Transformation Type (e.g., lower, replace, etc.).
  5. Click Apply Transformation.

🔢 How to use Sequential ID (New)

  1. Select multiple notes in the Browser. The order matters (IDs will be assigned top-to-bottom).
  2. Right-click -> Transform Field....
  3. Select Transformation Type: add_id (Sequential ID).
  4. Enter a Prefix in the input box (e.g., JPVC_).
  5. Click Apply Transformation.
    • Result: JPVC_001, JPVC_002, JPVC_003...
    • Note: If you select >1000 cards, it automatically adjusts padding (e.g., JPVC_0001).

⚠️ Notes

  • Backup: Always back up your collection before performing bulk operations.
  • Undo: You can use Anki's Undo feature (Ctrl+Z) if you make a mistake immediately after applying.

🇻🇳 Hướng dẫn Tiếng Việt

Công cụ giúp bạn thay đổi hàng loạt nội dung trong các trường (field) của thẻ Anki một cách dễ dàng — đổi chữ hoa/thường, tìm kiếm & thay thế, thêm ID tự động, hoặc dùng code Python tùy chỉnh.

🚀 Tính năng nổi bật

  • Chuyển đổi hàng loạt: Áp dụng cho các thẻ đang chọn hoặc toàn bộ thẻ.
  • Các kiểu chuyển đổi:
    • lower (chữ thường), upper (IN HOA), capitalize (Viết hoa chữ đầu).
    • replace (Tìm & Thay thế), remove (Xóa văn bản), prepend/append (Thêm đầu/cuối).
  • Sequential IDs (Mới): Tự động đánh số thứ tự ID cho thẻ (ví dụ JPVC_001, JPVC_002).
  • Tùy chỉnh cao: Hỗ trợ viết hàm Python lambda (ví dụ lambda x: x.replace('a', 'b')).

🧠 Cách sử dụng

Chức năng cơ bản

  1. Mở Trình duyệt (Browser) của Anki và quét chọn các thẻ cần sửa.
  2. Chuột phải -> Chọn Transform Field....
  3. Chọn Field (Trường) muốn sửa (ví dụ: "Mặt trước").
  4. Chọn Transformation Type (Kiểu chuyển đổi).
  5. Nhấn Apply Transformation.

🔢 Cách đánh số ID tự động (Tính năng mới)

  1. Chọn các thẻ trong Browser (Thứ tự chọn/sắp xếp sẽ quyết định số thứ tự).
  2. Chuột phải -> Transform Field....
  3. Chọn kiểu: add_id (Sequential ID).
  4. Nhập Prefix (Tiền tố) vào ô nhập liệu (ví dụ: JPVC_).
  5. Nhấn Apply Transformation.
    • Kết quả: Các thẻ sẽ được đánh số JPVC_001, JPVC_002, JPVC_003...
    • Lưu ý: Code tự động tính toán số lượng số 0 dựa trên tổng số thẻ bạn chọn (ví dụ chọn 1500 thẻ sẽ thành JPVC_0001).

⚠️ Lưu ý quan trọng

  • Sao lưu: Luôn backup dữ liệu trước khi chỉnh sửa hàng loạt để tránh rủi ro.
  • Hoàn tác: Nếu lỡ tay làm sai, bạn có thể nhấn Ctrl+Z (Undo) trong Anki để quay lại trạng thái cũ ngay lập tức.