Lamia
📖 使い方ガイドUser Guide

CSV をもっと快適Work with CSV smarter

大きなファイルもスムーズに開ける、Mac 向け CSV エディタです。
基本操作から AI 分析・Pro 専用機能まで、すべての使い方をこのガイドで説明します。

A high-performance CSV editor for Mac that handles large files with ease.
This guide covers everything from basic operations to AI analysis and Pro-only features.

10M rowsまで快適に表示smooth display
3 つの AI3 AIsに対応supported
自動判定Auto-detect文字コード対応encoding
10Pro 専用機能Pro-only features
📂
Section 01

ファイルを開くOpen File

🖱️ ドラッグ&ドロップで開く おすすめDrag & Drop Recommended
  1. デスクトップや Finder から CSV ファイル を Lamia の画面上にドラッグする。

    Drag a CSV file from your desktop or Finder onto the Lamia window.

  2. 手を離すと、すぐに読み込まれます。

    Release and the file loads instantly.

📁 メニューから開くOpen from Menu
  1. メニューから 「ファイル」→「開く」 をクリック。

    Click File → Open in the menu.

  2. CSV ファイルを選んで 「開く」

    Select your CSV file and click Open.

文字化けしない: Shift-JIS(日本語の CSV によく使われる形式)と UTF-8 の両方を自動で判別して正しく読み込みます。
No garbled text: Automatically detects both Shift-JIS (common for Japanese CSV) and UTF-8 and reads them correctly.
大きなファイルも高速に開ける: 1,000 万行・数百 MB のファイルも約 1 秒以内で起動します。ファイルをすべてメモリに展開せず、見えている部分だけを読み込む仕組みのため、メモリを圧迫しません。
Opens large files fast: Files with 10 million rows or hundreds of MB load in under 1 second. Only the visible portion is loaded at a time, so memory usage stays low.
✏️
Section 02

セルを編集するEdit Cells

基本の編集方法Basic Editing
  1. 編集したいセルを クリック して選択。

    Click the cell you want to edit.

  2. そのままキーを入力すると編集モードに入ります(Enter キーでも編集開始)。

    Start typing to enter edit mode (or press Enter).

  3. 入力後 Enter で確定。やめる場合は Esc

    Press Enter to confirm, or Esc to cancel.

📝 長い文章を編集する(数式バー)Edit Long Text (Formula Bar)
  1. セルを選択すると、画面上部の 数式バー に内容が表示されます。

    Select a cell — its content appears in the formula bar at the top.

  2. 数式バーをクリックして直接編集できます。

    Click the formula bar to edit directly.

  3. バーの 下端をドラッグ すると縦幅を広げられます。改行を含む長い文章に便利です。

    Drag the bottom edge of the bar to expand it. Great for multi-line text.

🔢 まとめて入力するBulk Input
  1. Shift + クリック または Shift + 矢印キー で複数セルを選択。

    Select multiple cells with Shift + Click or Shift + Arrow keys.

  2. 値を入力 → Enter で選択範囲すべてに同じ値を入力できます。

    Type a value and press Enter to fill all selected cells with the same value.

🔵 セル詳細編集モーダル(大きな画面で編集)Detail Edit Modal (Full-screen editor)
  1. セルを選択すると、セルの左下隅に青い小さな四角が表示されます。

    Select a cell — a small blue square appears at its bottom-left corner.

  2. その青いハンドルをクリックすると詳細編集ウィンドウが開きます。

    Click the blue handle to open the detail edit window.

  3. 大きなテキストエリアで長い文章や改行を含む内容を快適に編集できます。

    Edit long text or multi-line content comfortably in the large text area.

HTML が入力されているセルはシンタックスハイライトが自動で適用されます。Emmet 省略記法(例: div.class>p{text})も使えます。
Cells containing HTML get automatic syntax highlighting. Emmet shorthand (e.g. div.class>p{text}) is also supported.
編集を確定Confirm edit
Enter
編集をキャンセルCancel edit
Esc
セル移動Move cell
↑↓←→
範囲選択を広げるExtend selection
Shift↑↓←→
編集モード開始(内容を保持)Enter edit mode (keep value)
F2
行全体を選択Select entire row
ShiftSpace
🗂️
Section 03

複数のファイルを同時に開く(タブ)Multiple Files (Tabs)

  1. ファイルを開くたびに画面上部に タブ が追加されます。

    Each file you open adds a new tab at the top.

  2. タブをクリックするとファイルを切り替えられます。

    Click a tab to switch between files.

  3. タブの 「×」ボタン でそのファイルを閉じます。

    Click the × button on a tab to close that file.

⚠️
未保存の変更があるタブを閉じようとすると、確認メッセージが表示されます。
If a tab has unsaved changes, a confirmation dialog will appear before closing.
↩️
Section 04

操作を元に戻す / やり直すUndo / Redo

元に戻す(Mac)Undo (Mac)
Z
元に戻す(Windows)Undo (Windows)
CtrlZ
やり直す(Mac)Redo (Mac)
Z
やり直す(Windows)Redo (Windows)
CtrlY
ℹ️
無料版は 5 回、Pro 版は 1,000 回 まで元に戻せます。
Free (Lite) supports 5 undos; Pro supports 1,000 undos.
📋
Section 05

コピー・切り取り・貼り付けCopy, Cut & Paste

コピー(Mac)Copy (Mac)
C
コピー(Windows)Copy (Windows)
CtrlC
切り取り(Mac)Cut (Mac)
X
切り取り(Windows)Cut (Windows)
CtrlX
貼り付け(Mac)Paste (Mac)
V
貼り付け(Windows)Paste (Windows)
CtrlV
値のみ貼り付け(Mac)Paste values only (Mac)
V
値のみ貼り付け(Windows)Paste values only (Win)
CtrlV
下にフィル(Mac)Fill Down (Mac)
D
右にフィル(Mac)Fill Right (Mac)
R
Excel や Numbers からコピーした内容もそのまま貼り付けられます。複数セルの選択範囲もまとめてコピー&ペーストできます。
Content copied from Excel or Numbers pastes directly. Multi-cell selections copy and paste together.
ℹ️
値のみ貼り付け(⌘⇧V): 書式情報を除いた文字データだけを貼り付けます。
下にフィル(⌘D): 選択範囲の先頭行の内容を、範囲内の下のセルすべてにコピーします。右にフィル(⌘R) は先頭列を右へ繰り返します。
Paste values only (⌘⇧V): Pastes text data only, stripping formatting.
Fill Down (⌘D): Copies the top row of the selection into all cells below. Fill Right (⌘R) does the same leftward to right.
💾
Section 06

ファイルを保存するSave File

上書き保存(Mac)Save (Mac)
S
上書き保存(Windows)Save (Windows)
CtrlS
別名で保存(Mac)Save As (Mac)
S
別名で保存(Windows)Save As (Windows)
CtrlS
💡 Excel で開いても文字化けしない保存方法Save without garbled text in Excel
  1. 「別名で保存」のダイアログで文字コードを選択できます。

    In the Save As dialog, you can choose the character encoding.

  2. 「UTF-8(BOM 付き)」 を選ぶと Excel で開いたときに文字化けしにくくなります。

    Choose "UTF-8 (with BOM)" to prevent garbled text when opening in Excel.

ℹ️
分割保存は Pro 版限定です。 CSV を指定した行数・サイズ・ブロック単位で複数ファイルに分けて保存できます。詳しくは Pro 専用機能を参照
Split Save is a Pro-only feature. Split a CSV into multiple files by row count, file size, or block boundaries. See Pro features.
🗄️
Section 06b

自動バックアップAuto Backup

v0.1.126 以降 / Since v0.1.126
🛡️ ファイルを開いたとき・保存したときに自動でバックアップが作られますBackups are created automatically when you open or save a file

大切なファイルを誤って上書きしても、バックアップから元の状態に戻せます。アプリを終了しても、アプリをアップデートしてもバックアップは消えません。

Even if you accidentally overwrite an important file, you can restore it from a backup. Backups persist across app restarts and updates.

保存先(Mac)Location (Mac)~/.config/lamia/backups/
保存先(Windows)Location (Win)%APPDATA%\Lamia\backups\
バージョン数Versions1ファイルにつき最大 6 世代(古いものから自動削除)Up to 6 versions per file (oldest auto-deleted)
管理ファイル数Tracked files最大 12 ファイルUp to 12 files
圧縮Compressiongzip 圧縮(容量を 70〜90% 節約)gzip compressed (saves 70–90% of space)
🔄 バックアップから復元するRestore from Backup
  1. メニューから 「ファイル」→「自動バックアップ…」 を選ぶ。

    Choose File → Auto Backup… from the menu.

  2. 一覧から復元したいファイルとバージョンを探す。
    複数バージョンがある場合は をクリックして展開できます。

    Find the file and version you want to restore.
    If multiple versions exist, click to expand.

  3. 目的のバージョンの 「開く」 をクリックすると、そのバックアップが新しいタブで開きます。

    Click Open next to the version you want — it opens in a new tab.

  4. 内容を確認したら 「上書き保存」 して完了です。

    Review the content, then Save to overwrite.

「開く」と「保存」のどちらでバックアップされたかが表示されます。 バージョン一覧に [開く] / [保存] のラベルが付いています。
Each backup is labeled by how it was created. You'll see [Open] or [Save] next to each version.
ℹ️
ストレージの空き容量が 20 GB 未満 になると、自動バックアップは一時停止してアラートを表示します。不要なファイルを削除して容量を確保してください。
If available storage falls below 20 GB, auto backup pauses and shows an alert. Free up disk space to resume.
↕️
Section 07

データを並び替える(ソート)Sort Data

  1. メニューから 「データ」→「並び替え」 を選ぶ(または右クリック → 「並び替え」)。

    Choose Data → Sort from the menu (or right-click → Sort).

  2. 基準にする 列名 を選ぶ。

    Select the column to sort by.

  3. 昇順(小さい順・あいうえお順)降順(大きい順・逆順) を選んで「OK」。

    Choose Ascending or Descending and click OK.

並び替えは元に戻す(⌘Z / Ctrl+Z)で取り消せます。
Sort can be undone with ⌘Z / Ctrl+Z.
大きなファイルも並び替えできます: 1,000 万行を超えるファイルでも、データを全部メモリに展開せず並び替えます。メモリを圧迫せずに高速に動作します。
Works on large files: Even files with 10+ million rows are sorted without loading all data into memory. Fast and memory-efficient.
ℹ️
ブロック型並び替えは Pro 版限定です。 複数行で構成されるブロックを 1 単位として並び替える機能です。詳しくは Pro 専用機能を参照
Block Sort is a Pro-only feature. Sorts multi-row blocks as a single unit. See Pro features.
🔁
Section 08

重複している行を削除するRemove Duplicate Rows

同じ内容の行が複数ある場合、1 つだけ残してまとめて削除できます。

When multiple rows have the same content, keep one and delete the rest.

  1. メニューから 「データ」→「重複の削除」 を選ぶ。

    Choose Data → Remove Duplicates from the menu.

  2. 重複チェックに使う 列を選ぶ(例:「メールアドレス」列)。

    Select the column(s) to check for duplicates (e.g., the "Email" column).

  3. 「削除する」をクリック。

    Click Delete.

ℹ️
ブロック型重複削除は Pro 版限定です。 複数行のブロックごと重複している場合に削除できます。詳しくは Pro 専用機能を参照
Block Remove Duplicates is Pro-only. Deletes entire multi-row blocks that are duplicated. See Pro features.
🔽
Section 09

特定の値だけ表示する(フィルター)Filter Rows

  1. 列のヘッダー(一番上の行)にある ▼ ボタン をクリック。

    Click the ▼ button in a column header.

  2. 表示したい値に チェック を入れる。

    Check the values you want to show.

  3. 「OK」を押すと絞り込まれた行だけが表示されます。

    Click OK — only matching rows are displayed.

ℹ️
フィルターを解除するには、同じメニューから 「すべて選択」 にチェックして「OK」を押してください。
To clear the filter, open the same menu, check "Select All", and click OK.
Section 11

行・列を挿入 / 削除するInsert / Delete Rows & Columns

行の操作Row Operations
行を上に挿入(Mac)Insert row above (Mac)
+
行を上に挿入(メニュー)Insert row above (menu)
編集 → 行を上に挿入Edit → Insert Row Above
行を削除(Mac)Delete row (Mac)
-
行を削除(メニュー)Delete row (menu)
編集 → 行を削除Edit → Delete Row
列の操作Column Operations
  1. 操作したい列のヘッダーを右クリックするか、メニューの「編集」→「列を左に挿入」「列を削除」を選ぶ。

    Right-click a column header, or use the menu: Edit → Insert Column Left / Delete Column.

行・列の挿入・削除は ⌘Z(Ctrl+Z)で元に戻せます。
Row and column insertions/deletions can be undone with ⌘Z (Ctrl+Z).
🔒
Section 12

行・列を固定する(フリーズ)Freeze Rows & Columns

先頭の行や列をスクロールしても常に画面に表示させておく機能です。大きなデータを扱うときに便利です。

Keeps the top rows or left columns visible while scrolling. Very useful when working with large datasets.

  1. メニューの 「表示」 を開く。

    Open the View menu.

  2. 固定したい内容を選択する。

    Select what you want to freeze.

  3. 解除したいときは 「ウィンドウ枠固定の解除」 を選ぶ。

    To unfreeze, choose Unfreeze Panes.

先頭行を固定
Freeze Top Row
ヘッダー行(1 行目)を常に表示。下にスクロールしても列名が見えます。
Always shows the header row (row 1). Column names stay visible when scrolling down.
先頭列を固定
Freeze First Column
A 列を常に表示。右にスクロールしても ID や名前の列が見えます。
Always shows column A. ID or name columns stay visible when scrolling right.
ウィンドウ枠の固定
Freeze Panes
現在選択しているセルを基準に、上の行と左の列をまとめて固定します。
Freezes rows above and columns to the left of the currently selected cell.
ウィンドウ枠固定の解除
Unfreeze Panes
すべての固定を解除します。
Removes all frozen panes.
🔗
Section 13

リレーショナル編集(VLOOKUP 相当)Relational Edit (VLOOKUP equivalent)

2 つのタブ(CSV)をキー列で突き合わせて、片方のデータをもう片方の列に自動で書き込む機能です。Excel の VLOOKUP と同じ処理を GUI で行えます。

Match two CSV tabs by a key column and automatically write data from one into the other — the same logic as Excel's VLOOKUP, done through a GUI.

🚀 使い方How to Use
  1. 突き合わせたい 2 つの CSV ファイルをそれぞれタブで開く。

    Open both CSV files in separate tabs.

  2. メニュー 「データ」→「リレーショナル編集」 を開く。

    Open Data → Relational Edit from the menu.

  3. ソース(コピー元)のタブ・キー列・コピーしたい列を選ぶ。

    Select the source tab, key column, and the column to copy.

  4. ターゲット(書き込み先)のタブ・キー列・書き込み先の列を選ぶ。

    Select the target tab, key column, and the destination column.

  5. 「実行」を押すと、キーが一致する行に値が書き込まれます。

    Click Execute — values are written to rows where the keys match.

⚙️ 書き込みモードWrite Mode
強制上書き
Overwrite
すでに値が入っているセルも上書きします。
Overwrites existing values in the target cells.
空セルのみ補完
Fill empty only
空白のセルにだけ書き込みます。既存の値は変更しません。
Only writes to empty cells. Existing values are preserved.
設定は名前を付けて保存でき、次回から再利用できます。繰り返し同じ突き合わせ処理を行う業務に便利です。
Settings can be saved with a name and reused next time. Great for recurring data-matching workflows.
📊
Section 14

ステータスバーで統計を確認するStatus Bar Statistics

複数のセルを選択すると、画面下部のステータスバーに選択範囲の統計情報が自動で表示されます。

Select multiple cells and the status bar at the bottom automatically shows statistics for the selection.

SUM数値の合計Sum of numbers
AVG数値の平均値Average
MIN最も小さい値Minimum value
MAX最も大きい値Maximum value
COUNT空白でないセルの数Non-empty cells
数値件数Numeric count数値として解釈できたセルの数Cells parsed as numbers
フィルター適用中は、表示されている行のみを対象に集計されます。
When a filter is active, statistics are calculated only for visible rows.
🖨️
Section 15

印刷 / PDF に書き出すPrint / Export to PDF

  1. メニューから 「ファイル」→「印刷 / PDF 出力」 を選ぶ。

    Choose File → Print / PDF Export from the menu.

  2. 印刷プレビューが表示されます。

    A print preview will appear.

  3. 「PDF として保存」 または 「印刷」 を選んで完了。

    Click Save as PDF or Print to finish.

Section 16

AI アシスタントAI Assistant β

⚠️ AI アシスタントは現在ベータ版です。予期しない動作や編集ミスが発生する場合があります。重要なデータを扱う際は、事前にファイルのバックアップをお取りください。The AI Assistant is currently in beta. Unexpected behavior or editing errors may occur. Please back up your files before working with important data.

表のデータを AI に渡して、分析・編集を自然な言葉でお願いできます。

Send your spreadsheet data to an AI and ask for analysis or edits in plain language.

ChatGPT
ChatGPT
OpenAI API キー
OpenAI API key
Claude
Claude
Anthropic API キー
Anthropic API key
Gemini
Gemini
Google AI Studio キー
Google AI Studio key
🚀 はじめての設定Getting Started
  1. 画面右上の 「AI」ボタン をクリックしてパネルを開く。

    Click the AI button at the top-right to open the panel.

  2. 初回は API キーの設定画面が案内されます。使いたい AI のキーを入力してください。

    On first use, you'll be guided to the settings screen. Enter the API key for the AI you want to use.

  3. 設定を保存すると、すぐに使い始められます。

    Save the settings and you're ready to go.

🎯 質問の例Example Prompts
この表の売上合計を計算してCalculate the total sales in this table A 列で上位 10 件を教えてShow me the top 10 rows by column A 数量が 0 の行を全部削除してDelete all rows where quantity is 0 金額を昇順に並び替えてSort by amount in ascending order 重複しているメールを探してFind duplicate email addresses
AI がデータを直接編集するAI Edits Data Directly

「〇〇して」と頼むと AI がセルの編集・行の追加・削除・フィルター・並び替えなどを自動で行います。変更が気に入らない場合は ⌘Z(Ctrl+Z)で元に戻せます。フィルターや並び替えも Undo の対象です。

Tell the AI what to do and it automatically edits cells, inserts/deletes rows, filters, and sorts. If you don't like the result, press ⌘Z (Ctrl+Z) to undo — filters and sorts are also undoable.

📋 操作タイムラインAction Timeline

パネル下部の「操作タイムライン」に、あなたの指示と AI のアクションが時系列で記録されます。チャット履歴をリセットしても残るので、いつでも振り返ることができます。

The "Action Timeline" at the bottom of the panel records your instructions and the AI's actions chronologically. It persists even after clearing the chat history.

👤 00:12 カテゴリ列で果物にフィルターして👤 00:12 Filter the category column: "fruit"
🤖 00:12 フィルターを適用しました(2列: eq "果物")🤖 00:12 Filter applied (col 2: eq "fruit")
👤 00:13 売上で降順ソートして👤 00:13 Sort by sales, descending
🤖 00:13 複数キーソートを実行しました(3列↓)🤖 00:13 Multi-key sort applied (col 3 ↓)
📊 CSV コンテキスト(ON / OFF)CSV Context (ON / OFF)

入力欄の下にある 「CSV コンテキスト: ON/OFF」 ボタンで切り替えます。

Toggle with the "CSV Context: ON/OFF" button below the input field.

ON(初期設定)
ON (default)
現在の表データを AI に渡して、より的確な回答を得られます。
Sends your current spreadsheet data to the AI for more accurate responses.
OFF
表のデータを送らずに一般的な質問をしたいときに使います。
Use when you want to ask general questions without sending your data.
🌐 表示言語の切り替えLanguage Switch

Lamia の画面表示を 日本語 または 英語 に切り替えられます。変更は即時反映されます(再起動不要)。

Switch Lamia's UI between Japanese and English. Changes take effect immediately — no restart needed.

  1. AI パネル右上の ⚙ 設定 ボタンをクリックします。

    Click the ⚙ Settings button at the top-right of the AI panel.

  2. 設定ウィンドウ下部の 「表示言語」 コンボボックスから言語を選びます。

    In the settings window, choose a language from the Language dropdown at the bottom.

  3. 保存 をクリックすると画面がすぐに切り替わります。

    Click Save and the UI switches immediately.

💡
初回起動時は OS の言語設定を自動検出します。日本語 OS では日本語、それ以外では英語が初期値になります。
On first launch, Lamia auto-detects your OS language. Japanese OS = Japanese UI; all others = English UI.
💎
Section 17 — Pro

Pro 専用機能Pro-Only Features

以下の機能は Pro 版 にアップグレードすると使えるようになります。
手作業では何時間もかかる繰り返し処理を、数クリックで完了できます。

The following features are available after upgrading to Pro.
Tasks that would take hours by hand can be completed in just a few clicks.

↕️
ブロック型並び替えBlock Sort データ → 並び替え → 並び替えモード: ブロック型Data → Sort → Sort Mode: Block

通常の並び替えは「1 行 = 1 件」として処理しますが、ブロック型は複数行をひとつのセットとして扱い、セット単位のまま並び替えます。ブロック内の行の順番は崩れません。

Standard sort treats each row independently. Block Sort treats multiple rows as a single unit and sorts them together, keeping the row order within each block intact.

使い方
How to Use
  1. メニュー「データ」→「並び替え」を開く。

    Open Data → Sort.

  2. 並び替えモード で「ブロック型」を選択する。

    Set Sort Mode to "Block".

  3. 基準にする列と昇順 / 降順を選んで「OK」。

    Choose the sort column and order, then click OK.

こんな場面に役立ちます
Use Cases
  • 商品コード・商品名・単価・数量が 4 行 1 セットになっているデータを、商品コード順に並び替えたい
  • Sort 4-row product blocks (code, name, price, qty) by product code while keeping each set together
  • 請求書の明細が複数行セットになっていて、金額の大きい順に並べ替えたい
  • Sort multi-row invoice line items by total amount
  • ヘッダー行とデータ行がペアになっているデータを崩さず並び替えたい
  • Sort header-data row pairs without breaking the pairs apart
🔁
ブロック型重複削除Block Remove Duplicates データ → 重複の削除 → 削除モード: ブロック型Data → Remove Duplicates → Mode: Block

通常の重複削除は 1 行単位で同じ値を探しますが、ブロック型は複数行のセットが丸ごと重複している場合にまとめて削除します。セット内の一部だけが同じでも削除対象にはなりません。

Standard dedup looks for identical values row by row. Block mode deletes entire multi-row blocks that are duplicated. A partial match within a block does not trigger deletion.

使い方
How to Use
  1. メニュー「データ」→「重複の削除」を開く。

    Open Data → Remove Duplicates.

  2. 削除モード で「ブロック型」を選択する。

    Set Mode to "Block".

  3. 重複チェックに使うキー列を選んで「削除する」。

    Select the key column(s) and click Delete.

こんな場面に役立ちます
Use Cases
  • 商品名・説明・価格の 3 行セットがまるごと重複して登録されているデータをクリーンアップしたい
  • Clean up data where 3-row product blocks (name, description, price) are duplicated entirely
  • インポートを複数回繰り返したために同じブロックが重複してしまったデータを整理したい
  • Remove duplicate blocks caused by importing the same data multiple times
行の繰り返し挿入Repeat Row Insert 右クリック → 行の繰り返し挿入Right-click → Repeat Row Insert

データをグループに分けて、各グループの先頭または末尾に空行(または値を引き継いだ行)を自動で挿入します。数百グループあっても一括処理できます。

Splits data into groups and automatically inserts blank rows (or rows inheriting values) at the top or bottom of each group. Works across hundreds of groups at once.

グループの区切り方(2 種類)
Group Detection (2 modes)
📋 列の値で区切るBy column value
指定した列の値が変わった場所を「グループの境界」として認識します。例:部署コードが変わったら区切り。
Detects group boundaries where the specified column's value changes. E.g., new department code = new group.
🎨 セルの色で区切るBy cell color
行に色が付いている場合、同じ色の連続する行を 1 グループとして認識します。色分けされた分類データに便利です。
Consecutive rows with the same color are treated as one group. Great for color-coded category data.
設定できること
Options
対象列
Target columns
挿入する行に引き継ぎたい列を指定。複数列範囲も可。
Columns whose values to carry over into inserted rows. Supports multi-column ranges.
繰り返し回数
Repeat count
各グループに追加する行数。何行でも指定できます。
Number of rows to add per group. Any number is allowed.
挿入位置
Insert position
グループの「先頭の前」か「末尾の後」を選べます。
Insert before the first row or after the last row of each group.
開始行
Start row
ヘッダー行をスキップして処理開始する行を指定できます。
Specify how many header rows to skip before processing.
こんな場面に役立ちます
Use Cases
  • 部署ごとにグループ化された社員名簿で、各部署の間に区切り行を一括挿入したい
  • Insert separator rows between department groups in an employee roster
  • 取引先ごとの受注データで、取引先が変わるたびに小計行のスペースを空けたい
  • Add a subtotal row space each time the customer changes in order data
  • 色分けされた分類データのグループ末尾に合計行を入れるスペースを作りたい
  • Create space for a total row at the end of each color-coded group
📦
ブロック展開貼り付けBlock Expand Paste 右クリック → ブロック展開貼り付けRight-click → Block Expand Paste

シート上で作成したテンプレート(ひな形)の行パターンを、キー列に値が入っている行グループに繰り返し展開します。同じ形式の入力を大量に行う作業を自動化できます。

Expands a template row pattern you create on the sheet, repeating it across groups of rows where the key column has a value. Automates repetitive data entry with a fixed format.

2 つのモード
Two Modes
🔁 繰り返し展開Repeat Expand
キー列に値がある行グループそれぞれに、テンプレートを繰り返し貼り付けます。既にデータが入っているセルはスキップします。
Repeats the template across each group where the key column has a value. Skips cells that already have data.
🪣 空白を埋めるFill Blanks
キー列の値変化でブロック境界を自動検出し、ブロック内の空白行のみテンプレートで補完します。上部空白はテンプレート上部を使用。
Auto-detects block boundaries by key column changes, then fills only blank rows within each block using the template. Top blanks use the top of the template.
テンプレート範囲の指定方法
How to Specify the Template Range
  1. シート上で使いたい行パターンを作っておく。

    Create the row pattern you want to use directly on the sheet.

  2. モーダルの「範囲選択」ボタンでモーダルが折りたたまれ、グリッドで直接範囲を選択できます。

    Click Select Range in the modal — it collapses so you can select the range directly on the grid.

  3. 選択後、「↩」ボタンでモーダルに戻って実行。

    After selecting, click ↩ to return to the modal and run.

こんな場面に役立ちます
Use Cases
  • 商品コードが入力済みの行に「単価・数量・金額・備考」の 4 行セットを一括で流し込みたい
  • Batch-fill 4-row sets (unit price, qty, amount, notes) into rows that already have a product code
  • 取引先ごとに同じフォーマットの明細行を展開したい
  • Expand the same detail row format for each customer/partner
  • 一部の行しか入力されていないデータのブロック内空白を補完したい
  • Fill blank rows within blocks where only some rows have been entered
✏️
条件付き一括書き換えConditional Bulk Rewrite データ → 条件付き一括書き換えData → Conditional Bulk Rewrite

この条件に合う行だけを選んで、別の列をまとめて書き換える」操作を、画面上で設定して実行できます。表計算ソフトの「フィルター+手動書き換え」や、データベースの UPDATE 文に相当する機能です(有料版限定)。

Lets you select only rows matching a condition and rewrite another column in bulk — all through a visual interface. Think "filter + manual edit" in a spreadsheet, or a database UPDATE statement (Pro only).

操作の流れ
How It Works
  1. 絞り込み条件(WHERE)を設定します。例:「カテゴリ列が"食品"に等しい」「在庫数列が0に等しい」

    Set filter conditions (WHERE). E.g., "Category = Food" or "Stock = 0".

  2. 書き換え内容(SET)を設定します。例:「価格列を固定値に変更」「商品名列の先頭に文字を追加」

    Set rewrite rules (SET). E.g., "Set Price to a fixed value" or "Prepend text to Product Name".

  3. 更新」ボタンでプレビューを確認します(変更前→変更後の一覧が表示されます)。

    Click Preview to review changes (shows before → after for each row).

  4. 実行」ボタンで一括書き換えを行います。通常の取り消し(Ctrl+Z / Cmd+Z)で元に戻せます。

    Click Execute to apply the bulk rewrite. Undo (Ctrl+Z / Cmd+Z) works normally.

書き換えの種類
Rewrite Types
固定値
Fixed Value
指定した文字列をそのまま書き込みます。例:「販売停止」
Writes the specified text as-is. E.g., "Discontinued".
数式
Formula
「[列名]」の形式で同じ行の他の列を参照した計算ができます。例:「[価格] * 1.1」で価格を1.1倍にする
Reference other columns in the same row using [column name]. E.g., "[Price] * 1.1" multiplies the price by 1.1.
列コピー
Column Copy
指定した別の列の値をそのままコピーします。
Copies the value from another specified column.
こんな場面に役立ちます
Use Cases
  • 「カテゴリが食品の商品の価格を10%値上げしたい」→ WHERE:カテゴリ=食品 / SET:価格 = [価格] * 1.1
  • "Raise food item prices by 10%" → WHERE: Category = Food / SET: Price = [Price] * 1.1
  • 「在庫数が0の商品を非表示にしたい」→ WHERE:在庫数=0 / SET:公開フラグ = "0"
  • "Hide out-of-stock items" → WHERE: Stock = 0 / SET: Visible = "0"
  • 「商品名の先頭に【SALE】を追加したい」→ WHERE:全行 / SET:商品名 = "【SALE】" + [商品名]
  • "Prepend [SALE] to all product names" → WHERE: all rows / SET: Name = "[SALE]" + [Name]
  • 「旧部署名を新部署名に一括変更したい」→ WHERE:部署 = "管理部" / SET:部署 = "総務部"
  • "Rename old department to new name" → WHERE: Dept = "Admin Dept" / SET: Dept = "General Affairs"
ℹ️
条件を空のまま実行するとすべての行が対象になります。まずプレビューで確認してから実行することをおすすめします。
Running with no conditions targets all rows. We recommend checking the preview first before executing.
🔄
セル指定置き換えCell-by-Cell Replace ツール → セル指定置き換えTools → Cell-by-Cell Replace

通常の「検索と置換」は全行に同じキーワードを使いますが、この機能は行ごとに異なる検索文字列・置換文字列を使って対象列を一括置き換えできます。置き換えリストをCSV上で管理して、数百パターンの置換を一発で実行できます。

Standard Find & Replace applies the same keyword to every row. This feature lets you use a different search/replace string per row to bulk-replace a target column. Manage hundreds of replacement patterns directly in your CSV and apply them all at once.

使い方
How to Use
  1. 検索文字列列:各行のこの列の値を「何を探すか」として使います。

    Search column: each row's value in this column is used as the search pattern.

  2. 置換文字列列:各行のこの列の値を「何に置き換えるか」として使います。(空白 = 該当文字を削除)

    Replace column: each row's value is used as the replacement. (empty = delete the match)

  3. 対象列:実際に書き換えたい列をチェックボックスで選択。複数列同時に選択できます。

    Target columns: check the columns you want to rewrite. Multiple columns can be selected.

  4. 「実行」で全行を一括処理。変更されたセル数が表示されます。

    Click Execute to process all rows at once. The number of changed cells is shown.

高度なオプション
Advanced Options
正規表現モード
Regex Mode
検索列の値を正規表現パターンとして扱います。柔軟なパターンマッチが可能です。
Treats search column values as regex patterns for flexible matching.
振れ補正モード
Fuzzy Match Mode
改行やインデントのズレを吸収してマッチします。コピペ元の書式のバラつきがあっても対応できます。
Absorbs whitespace and newline differences during matching. Handles formatting variations from copy-paste sources.
ヘッダー行スキップ
Skip Header Rows
先頭の何行をヘッダーとしてスキップするか設定できます。
Configure how many leading rows to skip as headers.
複数列同時処理
Multi-column Processing
対象列を複数選ぶと、すべての対象列に対して同じ置換ルールが適用されます。
Selecting multiple target columns applies the same replacement rules to all of them simultaneously.
こんな場面に役立ちます
Use Cases
  • A列に古い商品コード、B列に新しい商品コードが並んでいて、C列の説明文を一括で書き換えたい
  • Column A has old product codes, B has new codes — batch-rewrite descriptions in column C
  • 旧住所から新住所への変換リストを CSV で持っていて、顧客データの住所列を一括更新したい
  • Use a CSV conversion list to bulk-update address columns in customer data
  • 数百種類の略称を正式名称に統一する作業を自動化したい
  • Automate the task of standardizing hundreds of abbreviations to their full names
⬇️
列穴埋めオートフィルColumn Autofill ツール → 列穴埋めオートフィルTools → Column Autofill

列を選択してからこの機能を使うと、選択した列の空白セルを、直前の値で自動的に埋めます。「キー列」を指定すると、キー列の値が変わったところで引き継ぎをリセットするので、グループをまたいだ誤補完を防げます。

Select a column, then run this feature to automatically fill blank cells using the value from the row above. Specify a key column to reset carry-over when the key changes, preventing accidental cross-group fills.

設定できること
Options
同じ値でコピー
Copy Same Value
直前の値をそのままコピーして空白を埋めます。(デフォルト)
Fills blanks by copying the previous value as-is. (default)
+1 インクリメント
+1 Increment
直前の数値に +1 した値で埋めます。数値以外の場合は同じ値でコピーします。
Fills blanks with the previous number +1. Falls back to copy for non-numeric values.
キー列でリセット
Reset at Key Column
指定した列の値が変わったら引き継ぎをリセットします。グループをまたいで埋めたくないときに指定します。
Resets carry-over when the specified key column's value changes. Use to prevent cross-group filling.
ヘッダー行スキップ
Skip Header Rows
先頭の何行をスキップして処理開始するか指定できます。
Specify how many leading rows to skip before processing starts.
使い方
How to Use
  1. 埋めたい列をクリックして選択する(複数列の場合は Shift+クリックで範囲選択)。

    Click the column to fill (Shift+click to select a range of columns).

  2. メニュー「ツール」→「列穴埋めオートフィル」を開く。

    Open Tools → Column Autofill.

  3. 埋め方・キー列・ヘッダー行数を設定して「実行」。

    Configure fill mode, key column, and header row count, then click Execute.

こんな場面に役立ちます
Use Cases
  • 「都道府県」列で先頭行だけ入力されていて、同じ県の行は空白になっているデータを一括で埋めたい
  • The "Prefecture" column has a value only in the first row of each group — fill the blanks automatically
  • 伝票番号が最初の行だけ入力されていて、同じ伝票の明細行は空白になっているデータを補完したい
  • Invoice numbers appear only on the first line — fill the blanks for all detail rows of the same invoice
  • 連番の「枝番」列で抜けている番号を自動的に採番したい
  • Auto-number missing entries in a sequential sub-number column
🔌
SQL コネクタ(MySQL 接続)SQL Connector (MySQL) ツール → SQL コネクタTools → SQL Connector

MySQL データベースに直接接続して、テーブルのデータを CSV として取り込めます。エクスポート作業なしで最新のデータを Lamia で開いて編集できます。接続情報はプロファイルとして保存しておけます。

Connect directly to a MySQL database and import table data as CSV. Open and edit the latest data in Lamia without any manual export step. Save connection details as reusable profiles.

使い方
How to Use
  1. 「ツール」→「SQL コネクタ」を開く。接続先のホスト・ポート・データベース名・ユーザー名・パスワードを入力する。

    Open Tools → SQL Connector. Enter the host, port, database name, username, and password.

  2. 接続」ボタンを押すとデータベースに繋いで、テーブルの一覧が表示されます。

    Click Connect to establish a connection. A list of tables will appear.

  3. 取り込みたいテーブルを選択して「抽出開始」をクリック。

    Select the table you want to import and click Start Extract.

  4. データが抽出され、新しいタブとして自動的に開きます

    The data is extracted and automatically opens as a new tab.

便利な機能
Handy Features
接続プロファイル保存
Save Connection Profile
よく使う接続先は名前を付けて保存でき、次回からワンクリックで再接続できます。
Save frequent connections by name and reconnect with a single click next time.
バックグラウンド抽出
Background Extraction
大きなテーブルの抽出中も他の作業を続けられます。完了するとタブが追加されます。
Continue working while large tables are being extracted. A new tab is added when extraction completes.
こんな場面に役立ちます
Use Cases
  • 会社のサーバーにある顧客テーブルを CSV に落とさずに Lamia で直接開いて編集したい
  • Open and edit the company's customer table directly in Lamia without exporting to CSV first
  • 毎日最新の在庫データをデータベースから取り込んで確認したい
  • Pull the latest inventory data from the database every day for review
  • 開発中のアプリのデータベースを手軽にCSVとして書き出したい
  • Quickly export a development app's database tables as CSV
🗄️
SQL クエリ(CSV に SQL を実行)SQL Query (Run SQL on CSV) ツール → SQL クエリ(CSV)Tools → SQL Query (CSV)

開いている CSV ファイルをデータベースのテーブルとして扱い、SQL の SELECT 文で自由に絞り込み・集計・結合ができます。結果は新しいタブに自動で表示されます。

Treat your open CSV files as database tables and run SQL SELECT statements to filter, aggregate, and join data freely. Results are automatically shown in a new tab.

使い方
How to Use
  1. 「ツール」→「SQL クエリ(CSV)」を開く。

    Open Tools → SQL Query (CSV).

  2. 右側のエディタに SQL 文を入力する。(タブ名がテーブル名になります)

    Enter a SQL statement in the editor on the right. (Tab names become table names.)

  3. 実行」ボタンを押すと結果が新規タブに表示されます。

    Click Execute — results appear in a new tab.

入力を助ける機能
Input Helpers
キーワードリボン
Keyword Ribbon
SELECT・FROM・WHERE・GROUP BY・ORDER BY・JOIN など、よく使うキーワードボタンをクリックするだけで自動入力されます。
Click keyword buttons (SELECT, FROM, WHERE, GROUP BY, ORDER BY, JOIN, etc.) to auto-insert them.
定型テンプレート
Statement Templates
「全件取得」「件数集計」「条件絞り込み」「グループ集計」「JOIN」など 9 種類の定型文が用意されています。
9 ready-made templates including Select All, Count, Filter, Group Aggregate, and JOIN.
列名・テーブル名一覧
Column & Table List
開いているタブの列名がサイドパネルに一覧表示されます。クリックするとエディタに挿入されます。
Column names from open tabs are listed in a side panel. Click to insert them into the editor.
複数タブの結合
Join Multiple Tabs
複数のタブを開いていれば、それぞれをテーブルとして JOIN できます。
With multiple tabs open, each can be used as a separate table for JOIN operations.
よく使うSQL例
Common SQL Examples
-- 条件で絞り込むFilter by condition SELECT * FROM 売上データ WHERE 金額 >= 10000SELECT * FROM sales_data WHERE amount >= 10000 -- 列ごとに集計するAggregate by column SELECT 部署, SUM(売上) AS 合計 FROM 売上データ GROUP BY 部署 ORDER BY 合計 DESCSELECT dept, SUM(sales) AS total FROM sales_data GROUP BY dept ORDER BY total DESC -- 2 つの CSV を結合するJoin two CSVs SELECT a.*, b.担当者名 FROM 売上データ AS a JOIN 担当者一覧 AS b ON a.担当者ID = b.IDSELECT a.*, b.rep_name FROM sales_data AS a JOIN rep_list AS b ON a.rep_id = b.id
こんな場面に役立ちます
Use Cases
  • 売上 CSV から特定の条件に合う行だけを素早く抽出したい
  • Quickly extract rows matching specific conditions from a sales CSV
  • 商品マスタと売上データを照合して、担当者名を売上データに付け加えたい
  • Join a product master with sales data to add rep names to the sales file
  • 月別・担当者別の集計を SQL で一発で出したい
  • Run a single SQL query to produce monthly and per-rep aggregates
🖼️
画像一括ダウンロードBulk Image Download ツール → 画像一括ダウンロードTools → Bulk Image Download

画像の URL が入力された列を指定するだけで、リスト内のすべての画像ファイルをまとめてダウンロードします。数百件でも自動でバックグラウンド処理を行い、進捗リアルタイムで確認できます。

Just point to the column containing image URLs and download all image files in the list in one go. Hundreds of images are processed automatically in the background with real-time progress tracking.

使い方
How to Use
  1. 「ツール」→「画像一括ダウンロード」を開く。

    Open Tools → Bulk Image Download.

  2. URL が入っている列を選択する。

    Select the column containing URLs.

  3. 保存先フォルダを選択する。

    Select the destination folder.

  4. ダウンロード開始」を押すとバックグラウンドで処理が始まります。完了数・失敗数がリアルタイムで表示されます。

    Click Start Download — processing begins in the background. Success and failure counts are shown in real time.

  5. 完了後、結果ログ(成功/失敗・保存先パス)を CSV でエクスポートできます。

    After completion, export the result log (success/failure, saved path) as CSV.

対応している画像形式
Supported Image Formats
JPG / JPEG PNG GIF WebP
こんな場面に役立ちます
Use Cases
  • 商品画像の URL が 500 件入ったリストから、すべての画像ファイルをまとめてダウンロードしたい
  • Download all 500 product images from a URL list at once
  • スクレイピングで集めた画像URLリストを一括でローカルに保存したい
  • Bulk-save a list of image URLs collected by scraping to local storage
  • ダウンロード結果(成功/失敗・保存先)をCSVで管理したい
  • Keep a CSV log of download results (success/failure, saved path)
✏️
ファイル名の一括変更Bulk File Rename ツール → ファイル名変更Tools → File Rename

CSV に「現在のファイルパス」と「新しいファイル名」の列を用意するだけで、何百件ものファイルを一括でリネーム・別フォルダへ移動できます。拡張子は自動的に維持されます。

Just prepare a CSV with a "current file path" column and a "new file name" column to rename and move hundreds of files in one batch. File extensions are preserved automatically.

使い方
How to Use
  1. CSV に「現在のファイル名(またはパス)」の列と「新しいファイル名」の列を用意する。

    Prepare a CSV with a "current file name (or path)" column and a "new file name" column.

  2. 「ツール」→「ファイル名変更」を開く。

    Open Tools → File Rename.

  3. 「現在のパス列」「新しいファイル名列」をそれぞれ選択する。

    Select the "current path column" and "new file name column".

  4. ファイルが別フォルダにある場合は「ソースフォルダ」を選択する。移動先を変えたい場合は「移動先フォルダ」も選択する。

    If files are in a different folder, select the "source folder". To change the destination, also select a "destination folder".

  5. 実行」を押すと一括でリネーム・移動されます。

    Click Execute to rename and move all files in bulk.

知っておくと便利なこと
Useful Details
拡張子は自動維持
Extensions Preserved
新ファイル名に拡張子を書かなくても、元の拡張子がそのまま引き継がれます。
You don't need to include the extension in the new name — the original extension is carried over automatically.
移動のみも可能
Move-only Mode
新ファイル名を空にして移動先フォルダだけ指定すると、ファイル名を変えずに移動できます。
Leave the new name blank and specify only a destination folder to move files without renaming them.
相対パスに対応
Relative Paths Supported
パス列にファイル名だけ書いても、ソースフォルダを指定することで正しく処理できます。
You can write just the file name in the path column — specify a source folder and it will be resolved correctly.
Unicode 正規化
Unicode Normalization
Mac / Windows の文字コードの違いによるファイル名不一致も自動的に吸収します。
Automatically handles filename mismatches caused by Mac/Windows Unicode encoding differences.
こんな場面に役立ちます
Use Cases
  • 商品コードで管理している画像ファイルを、商品名ベースのファイル名に一括変更したい
  • Rename image files managed by product code to product-name-based filenames in bulk
  • 撮影日ごとに散らばっている写真を、決まった命名規則でリネームしたい
  • Rename photos scattered by shoot date according to a fixed naming convention
  • 納品用にファイル名をクライアント指定の形式に一括変換したい
  • Batch-convert filenames to the client's specified format for delivery
✂️
分割保存Split Save ファイル → 分割保存…File → Split Save…

1 つの CSV ファイルを複数のファイルに分けて保存できます。行数・ファイルサイズ・ブロック単位の 3 つの分割方式に対応しており、ヘッダー行は各ファイルに自動的にコピーされます。

Split a single CSV into multiple files. Supports three split modes — by row count, by file size, or by block boundary — and automatically copies the header rows into every output file.

分割方式
Split Modes
レコード式(行数指定)
Record mode (row count)
「1,000 行ごと」のように、指定した行数ごとにファイルを分割します。
Split every N rows, e.g. every 1,000 rows.
サイズ指定
File size limit
「最大 10 MB」のように、出力ファイルのサイズ上限を指定して分割します。
Split so each output file stays under a specified size (e.g. 10 MB).
ブロック式(キー列)
Block mode (key column)
指定した列の値が変わるたびにブロック境界とみなし、ブロック単位で分割します。
Split whenever the value in the key column changes, keeping blocks intact.
使い方
How to Use
  1. 「ファイル」→「分割保存…」を開く。

    Open File → Split Save…

  2. 分割方式(レコード式 / ブロック式)を選ぶ。

    Choose the split mode (Record or Block).

  3. ヘッダー行数・分割基準(行数 or サイズ)・出力先フォルダ・ファイル名のベースを設定する。

    Set header row count, split criterion, output folder, and base filename.

  4. 「計算」ボタンで推定ファイル数を確認してから「分割保存を実行」。

    Click Calculate to preview the estimated file count, then click Execute Split Save.

こんな場面に役立ちます
Use Cases
  • 100 万行の CSV を 1 万行ずつのファイルに分けてシステムにインポートしたい
  • Split a 1M-row CSV into 10,000-row chunks for system import
  • メールの添付ファイルサイズ上限に合わせて CSV を複数ファイルに分割したい
  • Split a CSV to fit within email attachment size limits
  • 支店コードごとに担当者別のファイルを作成して配布したい
  • Create one file per branch code and distribute to each person in charge
💎
Pro へのアップグレード: App Store の Lamia ページからアプリ内購入で Pro にアップグレードできます。アップグレード後はすぐにすべての機能が使えます。
Upgrade to Pro: Upgrade via in-app purchase on the Lamia page in the App Store. All features are available immediately after upgrading.
📊
Section 18

無料版と有料版の違いFree vs Pro

機能Feature無料版(Lite)Free (Lite)有料版(Pro)Pro
CSV を開く・表示Open & view CSV 制限なしUnlimited 制限なしUnlimited
保存できる行数Saveable rows 無制限Unlimited 無制限Unlimited
元に戻す回数Undo steps5 回までUp to 5 1,000 回1,000
並び替え(通常)Sort (standard)
並び替え(ブロック型)Sort (block mode)💎 Pro
重複削除(通常)Remove duplicates (standard)
重複削除(ブロック型)Remove duplicates (block mode)💎 Pro
行の繰り返し挿入Repeat Row Insert💎 Pro
ブロック展開貼り付けBlock Expand Paste💎 Pro
条件付き一括書き換えConditional Bulk Rewrite💎 Pro
セル指定置き換えCell-by-Cell Replace💎 Pro
列穴埋めオートフィルColumn Autofill💎 Pro
SQL コネクタ(外部 DB 接続)SQL Connector (external DB)💎 Pro
SQL クエリ(CSV に対して)SQL Query (on CSV)💎 Pro
画像一括ダウンロードBulk Image Download💎 Pro
ファイル名の一括変更Bulk File Rename💎 Pro
分割保存Split Save💎 Pro
フィルター・検索・印刷 / PDFFilter, Search, Print / PDF
行・列の挿入・削除Insert / delete rows & columns
行・列の固定(フリーズ)Freeze rows & columns
リレーショナル編集Relational editing
検索・置換(正規表現含む)Find & Replace (incl. regex)
ステータスバー統計Status bar statistics
AI アシスタントAI Assistant API キー必要API key required API キー必要API key required