Manual About Open QualiLab GitHub

QualiLab Manual

A complete usage guide, from first access to publishing your results.

Português · English · Español · Read in the browser

🤖 Translated with AI. This text was translated from Portuguese using artificial intelligence. If something reads oddly or seems wrong, the Portuguese version is the reference.

🌐 A note on language. Since v1.4.48 the application interface exists in English, and it follows your browser; the picker in My account overrides that (see section 14). This manual gives the original Portuguese label in quotes wherever it helps — the screenshots still show the Portuguese interface, so use the quotes to match the images, and the images for layout rather than for wording.

This manual teaches you to use QualiLab step by step. For the feature list and the technical side (installation, Supabase, formats), see the README. To contribute code, see the repository on GitHub.

QualiLab runs entirely in the browser, in a single file. There is no installation, no mandatory login, no server of its own. You can start right now at luizpf42.github.io/QualiLab. Want to try it before reading? Your first 5 minutes get you coding right away.


Your first 5 minutes

Want to get a feel for the tool before diving into method? This is the shortest path to your first code — no account, no installation.

  1. Open luizpf42.github.io/QualiLab and click Just try it (draft) ("Só testar (rascunho)"). QualiLab asks whether the project will have AI features ("recursos de IA"); to start, Continue without AI ("Continuar sem IA") is enough (you can turn it on later). The project opens right away, in this browser only.
  2. On the Coding tab ("Codificação"), click paste text… ("colar texto…") and paste a passage: an interview quote, a paragraph of a court ruling, a news story (or use + add ▾ ("+ enviar ▾") for a .txt, .pdf or .docx, or try it with an example corpus ("experimentar com um corpus de exemplo") to see ready-made highlights and charts).
  3. Select with the mouse a sentence that catches your attention, right-click it and choose + Create new code ("+ Criar novo código"). Name the theme (e.g. access to justice) and click Create and apply ("Criar e aplicar"). Done — your first coded passage.
  4. Code a few more passages: repeat the same code where the theme returns, create others where new themes appear.
  5. Open the Reading tab ("Leitura"), go to Passages ("Trechos") and click your code: every passage you marked appears together, side by side. That is your analysis starting to take shape.

Liked it? Before going far, decide where to save your work (the draft is ephemeral — section 16) and read section 0 to get the most out of the tool. The rest of the manual goes deeper into each of these steps.


0. The idea behind QualiLab

If you landed here out of nowhere, start with this section: it explains what QualiLab is for, which problems it attacks and how to put it to good use, so you can plan before you start clicking.

In one sentence

QualiLab is your qualitative research laboratory in a single file: you open a document, select a passage and you are already coding — and you have a place to experiment with the material (read, visualize, cross-reference, test ideas) and to turn the result into something other people can read and build on.

The spirit: a laboratory, not a dead archive

The name is not decoration. A laboratory is where you experiment: you raise a hypothesis, mix materials, test an idea, discard what does not hold and turn what remains into something useful. QualiLab is built for that back-and-forth — not to "store" the analysis, but to work it.

That is why Reading, Charts and the Interactive Report (ATI) are not accessories bolted on at the end of the process: they are the laboratory's benches. In Reading you re-read the whole document with the highlights in context, or gather every passage of one code; in Charts you raise and knock down hypotheses looking at frequencies, coverage and co-occurrences; in the Report you turn exploration into a product: a finished report, an interactive page, a set of annotations. Exploration on one side, product on the other, and the path between the two short enough for you to go back and forth as many times as you need.

The problems it attacks

Qualitative data analysis (QDA) tends to charge dearly in three currencies. QualiLab was designed against all three:

  1. Cost and barrier to entry. The reference tools (ATLAS.ti, MAXQDA, NVivo) are expensive, closed, and have a learning curve that consumes hours before the first analysis begins. QualiLab is free, open source (MIT), and opens directly: no installation, no server of its own, no subscription. Load a document, select, code.

  2. The parallel spreadsheet. Thematic coding in one tool; structured attributes (year, source, court, interviewee profile) in a separate spreadsheet. QualiLab integrates the two: passage codes (what the text says) and document attributes (what the document is) live in the same environment, with no tool switching.

  3. The evidence left behind. A strong qualitative argument becomes even stronger when the reader can see the material that supports it — but showing that path has always been laborious: locked inside expensive tools or scattered across loose files. QualiLab shortens it: coding, attributes, memos and reconciliation are explicit and exportable, and you can publish them in open standards (ATI / W3C Web Annotation), to the extent and in the format you choose, with no vendor dependency.

What it is for

Any text corpus you want to interpret systematically: interviews and transcripts, court rulings and legal filings, public policy documents, news, open-ended survey answers, minutes, reports, literature. It works solo or in a team, online or fully offline.

What good research with QualiLab aims for

Think of these as goals that guide your use — not features, but what you are building:

  • Claims with grounding. Every point supported by concrete passages, which you can show whenever you want to give the argument weight.
  • Interpretive depth and structured comparability. Memos and rich coding capture meaning; attributes let you count, cross-reference and compare. Both sides of qualitative research, in the same place.
  • Explicit authorship and inter-coder agreement. In a team, each person codes in their own layer and the group consolidates a reference layer in Reconciliation: disagreement becomes data, not noise swept under the rug.
  • Control over your data. You choose where it lives, and you know what each option implies (see Sensitive data and responsibility, below).

Transparency in service of your argument

A word about transparency, because the term is loaded. Here it does not mean accountability, nor a promise of "replicating" an interpretive analysis: that would measure qualitative research with a yardstick that is not its own. The idea is simpler and more in your favor: showing the evidence next to your reading of it strengthens what you argue. When the reader can walk through the passages that support a finding, your argument gains credibility — without you giving up a comma of your interpretation.

And always with the precautions qualitative research demands: meaning is situated and constructed, not everything can or should be exposed, and the confidentiality of sources comes before anything else. That is why, in QualiLab, transparency is optional, gradual and yours: you decide what to show, to whom and when, and passages marked as redaction come out masked in the transparency reports and in what goes to the AI (the working files, such as .qualilab, QDPX and CSV, carry the full text). The tool provides the means; the judgment is yours.

Sensitive data and responsibility

Before loading any material, decide how much of the tool you can use, because that depends on the sensitivity of the data, and it is not a neutral side choice. The golden rule: the material only leaves your device if you let it — when working in the cloud (it syncs via Supabase), when using remote AI (it goes to the provider you choose) or when publishing a report. In file and draft modes, and with local AI, nothing leaves your computer.

Practical rule (safe-by-default): when in doubt, treat the material as more sensitive. Public or synthetic data allows everything; sensitive data calls for file mode and, if using AI, your own key (preferably paid/institutional) with the redaction checked; restricted data (an ethics board that forbids it leaving, identifiable health data, sealed court records) stays offline, with no cloud and no remote AI. And remember: redaction masks only what you marked by hand (it is not automatic anonymization) and the anonymize option in exports merely omits authorship. The full decision matrix and what redaction does not do are in section 16. Read it before choosing where to save.

Legal notice. QualiLab is a personal project, distributed under the MIT license, without any warranty. It does not represent the position of, nor imply any responsibility of, any institution (including FGV). The author accepts no liability for data loss, leakage or misuse. Use it at your own risk, with the ethical and legal precautions your research requires.

How to plan your use (a minimal roadmap)

  1. State the goal of the research in a project memo (section 11). It guides the coding. To guide the AI, write the Memo for the AI (or tick the project memo in ⚙ Configure Prompt).
  2. Choose where the data lives (section 16) according to the sensitivity of the material and whether there is a team (re-read Sensitive data and responsibility, above).
  3. Choose the project type, individual or collective (section 2).
  4. Bring in the documents and fill in the attributes you will want to compare later (sections 4 and 6).
  5. Code — let the codes emerge (inductive) or follow a prior scheme; record decisions in memos (section 5).
  6. Reconcile (in a team) or review (solo) (section 8).
  7. Experiment and publish — explore in Reading and Charts and turn it into a product through the Report (sections 9–12).

How QualiLab was made (and what to expect)

It is worth being honest about the tool's origin. QualiLab was written, for the most part, with Claude Code (Anthropic's programming AI), guided by the author from real problems found in his own research practice and in dialogue with the community and the qualitative methods literature. In part, the project is itself an experiment on a question: how far can a guided AI be turned into a research tool?

In practice, QualiLab is under active development: it improves constantly and, like any software at this stage, it may contain errors. Save your work often (section 16) and, if you find a problem or have an idea, report it at github.com/LuizPF42/QualiLab. That feedback is part of how the tool evolves.

A word about the AI inside QualiLab

Consistent with the above, QualiLab incorporates AI as an assistant, never as a substitute for the researcher's judgment, under three non-negotiable rules. Opt-in: AI ships off by default; nothing is sent to a model without you asking, analysis by analysis. Transparency: you can see the exact prompt, the AI returns proposals you approve or reject one by one, and it is required to cite the source (passage and document) of every observation. Control: passages marked as redaction are masked before any sending, and you use your own key and model (or a local model, via Ollama). The AI speeds up reading and organizing; interpretation and decision remain yours. Details in section 17.


1. Core concepts

Before clicking any button, five ideas are worth understanding. They repeat across every screen.

Document

A text to be analyzed: an interview, a court ruling, an article, a transcript. You import it (.txt, .md, .docx, .pdf) or paste the text directly. Each row of a spreadsheet (.csv/.xlsx) can also become a document.

Code

A label you apply to passages of the text ("this paragraph is about access to justice"). Codes are hierarchical: a code can hold subcodes, and those can hold their own. The color comes from the family (the hue) and the shade indicates depth. It is classic QDA thematic coding.

Code and family: one rule only

A code either groups other codes, or receives passages. Never both.

Whatever has subcodes is a family: it organizes, and for that reason does not receive passages directly. Whatever has no subcodes receives passages — whether a top-level code ("Hierarquia 0", loose at the top) or a subcode inside a family. The tree makes this visible: a family shows a hollow color swatch, outline only; whatever receives passages shows a filled one. In the Map, the same thing with the bubbles.

Why this rule exists. Without it, a code can end up being both things at once — having subcodes and passages of its own — and then every count becomes ambiguous: when the family shows "23", is that its own passages, its children's, or the sum? Worse, the same question reaches the analysis: comparing "Risks" with "Adoption", you are comparing sets that are not of the same kind. This is why ATLAS.ti and QualCoder also separate the two, and their argument is methodological, not technical.

In QualiLab the family shows the sum of its subcodes (the number includes the children; the tooltip says so). It keeps telling you how much that theme weighs in the material, without having passages of its own.

You do not have to decide any of this up front. Create codes freely while you read; a new code is born simple and receives passages. The family appears when you decide to subdivide: the moment a code gets its first subcode, it becomes a family — and, if it already had passages of its own, QualiLab asks right there where they should go (see 5.1 and 7.2). Nothing is moved without you seeing it.

About depth. QualiLab allows as many levels as you want (Adoption ▸ Gains ▸ Acceleration). The literature recommends parsimony: Bazeley suggests something like 10 to 25 top-level families and 2 to 3 levels in total. Deeper than that and codes tend to duplicate at the lower levels, which hurts precisely the comparison coding is meant to enable.

Attribute (per-document field)

Different from a code: a attribute describes the whole document, not a passage. "Year", "Court", "Source type", "Interviewee gender". It is what usually becomes a column in a parallel spreadsheet; here it is integrated. There are seven types (Closed Text, Open Text, Number, Date, Yes/No, Multiple Choice, Checkbox).

Code × Attribute, in one sentence: a code marks a piece of the text; a attribute answers a question about the whole document.

If you come from another tool, watch the word "attribute". It is a false friend. Here it means document attribute; in two of the most used tools it means the opposite: a grouper of codes.

In QualiLab MAXQDA NVivo QualCoder ATLAS.ti
attribute (document attribute) document variable attribute (in a case classification) attribute does not exist; becomes a document group
family (code with subcodes) code and subcodes parent node and child nodes attribute attribute

ATLAS.ti is the only one of the four with no document attribute: its manual recommends using document groups instead ("document groups can be regarded as attributes or variables"). That is why, when exporting to it, each attribute value becomes a separate group, and a free-text attribute ends up generating one group per document. It is not an export defect: it is the only representation its model admits.

On the way back the path is the same, inverted: when importing a .qdpx, each document group becomes a value of a Checkbox attribute (a document can be in several groups, and all of them show). When the group is named in the Attribute::Value format, the original attribute is rebuilt under its own name. A code group does not become a family, because here the family is defined by the code's own hierarchy: the import summary lists by name the code groups left out, so you can recreate them as subcodes if you want.

Layers and authorship

Every coding and every attribute answer records who made it. There are two layers:

  • Individual: each researcher's work, kept separate.
  • Final (reference layer): the team's consolidated version.

In an individual project, everything goes straight to the reference layer. In a collective project, each person works in their own individual layer and the team consolidates the reference layer on the Reconciliation screen.

Roles (collective project)

  • Admin: defines the attribute scheme, edits the reference layer, manages members, sets family colors and redaction, edits document text, imports material and performs the structural and destructive operations: deleting documents or codes and merging codes (which affect the whole team's work).
  • Member: codes in their own layer, fills in their own attribute answers, adds documents, creates and renames codes, edits their definition, writes memos and uses the AI panels (when the project has AI).
  • Read-only: reads the whole project — documents, codes, the team's codings, attributes, charts, Reconciliation and Report — and writes memos. They do not code, do not answer attributes, do not touch the scheme, do not upload documents and do not import; the AI screens do not appear for them. This is the role for a supervisor, a reviewer, or the colleague you ask for a second reading: their opinion comes back to the team through the memos, inside the project. Blind coding and assignment restrictions apply to them exactly as they apply to a member.

These are the default values. In a collective project, whoever creates it decides item by item what members and read-only participants can do, and the study design (such as blind coding): see What each role can do.

How to assign it: in Project ▸ Members & admins ("Projeto ▸ Membros & administradores"), the admin clicks make read-only on that person's row (and give coding back to undo it). They join the project with the usual access code. A project is never left without an admin: the button refuses to demote the last one. And the study's configuration — the AI instructions, the stance, the saved prompts and the words ignored in the word cloud — is stored as memos but is not commentary: it stays with whoever coordinates the project.

These restrictions are enforced by the server, not merely hidden in the interface: a member cannot (not even by calling the API directly) write to the reference layer, delete documents/codes, edit shared text, remove a code's redaction or import. Those actions require the admin role.

Where the data lives (cloud, browser or a file on disk) is a choice separate from the project type. See section 16.


2. Getting started

Before loading material, a choice that cannot be undone for free: where your data will live. In short: file and draft stay on your device and do not leave it; the cloud syncs across people and devices, which makes the content readable by whoever administers the database. The full matrix, by material sensitivity, is in section 16 — and the rule is when in doubt, treat the material as more sensitive.

2.1. How to access

Way How When to use
Online Open luizpf42.github.io/QualiLab The normal path
Installed (offline) Install it as an app — on Windows, through Edge Opens without internet, own window, double-click on .qualilab files
Single file Download the index.html and double-click it No internet and nothing to install; sensitive data

Once the single file is downloaded, it opens straight in the browser (file://) with no server needed, and it opens without internet. Only when you use PDF, DOCX, spreadsheets, OCR or semantic search does it download the corresponding library (the browser usually keeps it in cache). (If your browser policy blocks it, serve it with python -m http.server 8000 in the file's folder.)

Chrome or Edge are recommended: only they support local File mode (saving a .qualilab visible on disk) and the automatic folder backup. Firefox and Safari work in cloud or draft mode (localStorage); only file mode is unavailable in them.

2.2. The entry screen

The QualiLab entry screen on a first visit: the question "Who will you be working with?" and the two doors, On my own, on this computer (New file and Open an existing file) and With my group (Sign in and Create my cloud), with "Just try it (draft)" and "Connect to the public cloud (deprecated)" right below.
The QualiLab entry screen on a first visit: the question "Who will you be working with?" and the two doors, On my own, on this computer (New file and Open an existing file) and With my group (Sign in and Create my cloud), with "Just try it (draft)" and "Connect to the public cloud (deprecated)" right below.

The first screen asks Who will you be working with? ("Com quem você vai trabalhar?") and offers two doors:

  1. On my own, on this computer ("Sozinho, neste computador"):
    • New file ("Novo arquivo"): creates a project saved as a .qualilab file on your disk (Chrome/Edge): portable, offline, no cloud. Ideal for sensitive data. The first time, a tip explains how to use the same file on more than one computer; Choose where to save ("Escolher onde salvar") moves on.
    • Open an existing file ("Abrir arquivo existente"): reopens a .qualilab from your disk.
  2. With my group ("Com meu grupo"):
    • Sign in ("Entrar"): for those who already have an account on the group cloud, or got its short name from colleagues. See The Sign in panel, below.
    • Create my cloud ("Criar minha nuvem"): opens a wizard that sets up a server for your group alone, on a free Supabase account that belongs to you, for collaborative work synced across devices. After you authorize on supabase.com, the wizard does the setup on its own, and the cloud gets a short name that colleagues type to find it. The step-by-step, the manual path and maintenance are in 2.4.

Right below the doors, Just try it (draft) ("Só testar (rascunho)") instantly opens a draft project in this browser, with nothing to configure. It is ephemeral (it vanishes if you clear the site data), good for experimenting; migrate to file or cloud whenever you want (one click in the project hub).

Created an account? The next step is a code. On signup, QualiLab sends a code by e-mail and opens the "Confirm your registration" screen ("Confirme seu cadastro"): type all the digits of the code there and click Confirm and sign in ("Confirmar e entrar"). There is no link to click in the e-mail, and that is on purpose — corporate mailbox security filters tend to open links on their own and burn them before you do, which used to produce "invalid or expired link" for people who had never clicked. The code is valid for one hour. If it does not arrive, check spam and use Resend the code ("Reenviar código"); once resent, only the code in the most recent e-mail counts (the previous one stops working). If your account was already confirmed, "I already confirmed — let me in" ("Já confirmei — quero entrar") goes back to login. On a private cloud this depends on how it was configured: without e-mail confirmation, the account goes straight in, with no code.

When you create a project (draft, file or cloud), QualiLab asks whether it will have AI features ("recursos de IA"): No AI ("Sem IA"; the default: the AI screens do not appear, and Auto-coding keeps only Repeat Coding, which uses no AI) or Turn AI on ("Ativar IA"). You can change it later (17.7).

When the browser allows installing, the entry screen also shows Install QualiLab ("Instalar o QualiLab") (on Windows with Chrome, Install through Edge ("Instalar pelo Edge") is highlighted): see Install as an app.

The interface follows the first supported language in your browser preferences: Portuguese, Spanish or English (also the fallback when none is supported); switch it in My account ▸ Language ("Minha conta ▸ Idioma") (section 14).

At the bottom of the screen sits Connect to the public cloud (deprecated) ("Conectar à nuvem pública (deprecado)"): leads to login on QualiLab's public cloud (Continue with Google, or e-mail and password; or Create an account ("Criar conta") on the same screen: provide a display name, e-mail and a password of at least 6 characters). There is I forgot my password ("Esqueci minha senha") to reset by e-mail, Connect to a private cloud ("Conectar a uma nuvem privada") to reach the wizard, and ← Back returns to the entry screen. That cloud keeps working, but it is no longer the recommended path: right under the button, the link Data visible to the developer ("Dados visíveis para o desenvolvedor") reminds you that there the content is visible to whoever administers the database. Read section 16 before uploading sensitive material.

The Sign in panel. Clicking Sign in swaps the doors for the login form, without opening another window. Pick the Cloud ("Nuvem") from the list (the ones this browser has used) or Another cloud… ("Outra nuvem…") to type the short name the group gave you; then the e-mail and password of your account there, and Sign in. Right below are First time in this cloud? Create an account ("Primeira vez nesta nuvem? Criar conta") and Forgot my password ("Esqueci a senha"), and the × next to a cloud forgets it in this browser. The list keeps only the address, the public key and the short name, never your e-mail or password. Under the form, No short name? Connect by address and key ("Sem o nome curto? Conectar pelo endereço e chave") opens the wizard on the Address and key step, and Your group has no cloud yet? Create a cloud for my group ("O grupo ainda não tem nuvem? Criar a nuvem do meu grupo") opens the creation wizard. Back ("Voltar") brings the doors back. The shortest route for a colleague is still the Link for the team ("Link para a equipe"): whoever created the cloud copies it on the entry screen and sends it to colleagues, and whoever opens the link confirms the server under Check and connect ("Conferir e conectar"). An invitation link (copy link ("copiar link"), in section 13) carries the server with it.

Carry on where you left off ("Continuar de onde parou"). Once you use QualiLab in this browser, the entry screen opens with a strip at the top: the file of the last session (Reopen ("Reabrir"); the browser asks for permission to open it) and the clouds this browser has used (Sign in, which opens the Sign in panel with that cloud chosen). The doors sit right below, under Or start something new ("Ou comece algo novo"). On a first visit the strip does not exist, which is why it is not in the image above. Connected to a private cloud, the bottom of the screen shows Check server ("Conferir servidor") and Link for the team.

A cloud or file project already opened reopens next time; if the browser asks again for permission to the file, the file shows up under Carry on where you left off, and one click on Reopen ("Reabrir") is enough.

2.3. Choose or create a project

After login comes "My projects" ("Meus projetos"):

  • Open an existing project: click it in the list, or click open ("abrir").
  • Create a project ("Criar projeto"):
    1. Confirm your display name.
    2. Type the project name.
    3. Choose the type: Individual Project (solo use, everything goes straight to the reference layer, no reconciliation) or Collective Project (several researchers, with reconciliation).
    4. Decide the AI features ("Recursos de IA"): the project is born with No AI (see 17.7).
    5. (Collective) Choose the study type (open team, inter-coder reliability, split the corpus, panel of judges) and adjust the What each role can do matrix ("O que cada papel pode fazer"). Decide before inviting anyone (section 13).
    6. Click Create ("Criar"). In a collective project, the project hub opens right after, already on the invites.
  • Join with a code ("Entrar com código"): to join someone else's collective project, paste the access code or invite code (10 characters, e.g. 9F2A1C7B40) and click Join ("Entrar").
  • Local file (Chrome/Edge): New file… ("Novo arquivo…") creates a .qualilab on disk; Open a file… ("Abrir arquivo…") reopens an existing one. Ideal for sensitive data (no cloud, no network). On more than one computer: save the file in the Google Drive or OneDrive folder, with their program installed on both computers. Close the project on one and wait for it to sync before opening it on the other, because with both open one can overwrite the other's work. In that folder the file goes to that service's cloud, so if the material is sensitive, first check that your institution allows it.

The project type can be changed later (admin). Converting Collective → Individual is irreversible: it collapses all codings into a single author and keeps only the attributes' reference layer.

2.4. Create a cloud for your group (Supabase)

To work as a team, QualiLab needs a server where projects live and sync. That server belongs to your group: a Supabase project (a database with sign-in) on an account of someone in the group, on the free plan. The database is yours, the keys stay with whoever you authorize, and the material does not go through QualiLab's author. The public cloud, which served everyone, will be shut down on 31/12/2026 (see Moving a project from the public cloud to the group's).

One person in the group does this once, usually whoever coordinates; colleagues only sign in (Bringing in the team). There are two paths:

  • With the wizard, the normal path: QualiLab creates the server on your Supabase account after you authorize it on supabase.com. It takes about ten minutes the first time, counting the account creation.
  • By hand: you create the project in the Supabase dashboard and the wizard guides you through five steps. It serves those who already have a server, those who prefer not to authorize QualiLab on their own account, and those who run their own copy of the app.

A group cloud does not change what holds for sensitive material. The content is readable by whoever administers the project on Supabase and by the Supabase company, which hosts it; there is no end-to-end encryption (section 16). For restricted material, file mode is still the answer.

Creating it with the wizard

  1. On the entry screen, under With my group ("Com meu grupo"), click Create my cloud ("Criar minha nuvem").

    The "Create a cloud for your group" window (in Portuguese, "Criar a nuvem do seu grupo"): the Short name of the cloud field (filled with labdados-exemplo) and the Region (São Paulo), the explanation of the short name, the question "Do you already use Supabase?" with the buttons "No, this is my first time" and "Yes, I already do", the folded sections "What is free, and what is not" and "Who sees what", and at the foot "I already have a server, or I prefer to set it up by hand".
    The "Create a cloud for your group" window (in Portuguese, "Criar a nuvem do seu grupo"): the Short name of the cloud field (filled with labdados-exemplo) and the Region (São Paulo), the explanation of the short name, the question "Do you already use Supabase?" with the buttons "No, this is my first time" and "Yes, I already do", the folded sections "What is free, and what is not" and "Who sees what", and at the foot "I already have a server, or I prefer to set it up by hand".
  2. Give it a Short name of the cloud ("Nome curto da nuvem") and pick the Region ("Região"). The short name is what you and your colleagues will type to find the cloud on another computer: 3 to 40 unaccented letters, digits or hyphens (capitals and spaces turn into lower case and hyphens as you type). It also becomes the project's name in the Supabase dashboard. Use the group's name, not a person's: names are kept in an open registry, next to each cloud's address and public key. For the region, São Paulo is close to users in Brazil and keeps the data hosted in the country, which may matter in an ethics committee review; there are also Virginia (USA) and Frankfurt (Germany).

  3. Answer Do you already use Supabase? ("Você já usa o Supabase?"). Supabase only lets you authorize QualiLab on an account that already has an organization (the folder where it keeps projects):

    • No, this is my first time ("Não, é a primeira vez"): a four-screen guide shows, with a picture of each, what to do on supabase.com, in another tab: create the account (with GitHub, with ChatGPT, or with e-mail and password, confirming through the link Supabase sends) and create the organization (Create organization, with Plan set to Free - $0/month, which asks for no card). When the Create a new project screen appears, stop: QualiLab is the one that creates the project. Close the Supabase tabs, go back to QualiLab's and click Next ("Próximo").
    • Yes, I already do ("Sim, já uso"): goes straight to the authorization.

    If the short name already belongs to another cloud, you are told here, before going to supabase.com.

    The wizard's guide at step 3 of 5, "Create the organization": the text says what to fill in Name, Type and Plan, and the picture of Supabase's "Create a new organization" screen shows the Create organization button outlined in red. Below, the Back and Next buttons.
    The wizard's guide at step 3 of 5, "Create the organization": the text says what to fill in Name, Type and Plan, and the picture of Supabase's "Create a new organization" screen shows the Create organization button outlined in red. Below, the Back and Next buttons.
  4. Click Authorize on supabase.com ("Autorizar no supabase.com"). Supabase's Authorize QualiLab screen opens in the same tab (if asked, sign in with your account there). Check under ORGANIZATION the organization where the server will be born, read under PERMISSIONS what QualiLab will be able to do in it, and click Authorize QualiLab. Seeing No organizations found? The account has no organization yet: click Create an organization, check the Free plan, and Supabase returns to the authorization on its own.

    Step 5 of 5, "Authorize QualiLab": the text explains ORGANIZATION and PERMISSIONS, the picture shows Supabase's "Authorize QualiLab" screen with the authorize button outlined in red, and below sit the "Authorize on supabase.com" button and the folded help for when "No organizations found" shows up.
    Step 5 of 5, "Authorize QualiLab": the text explains ORGANIZATION and PERMISSIONS, the picture shows Supabase's "Authorize QualiLab" screen with the authorize button outlined in red, and below sit the "Authorize on supabase.com" button and the folded help for when "No organizations found" shows up.
  5. Supabase brings you back and QualiLab does the rest, ticking off each stage: it receives the authorization, picks the organization (if the account has more than one, it asks which), creates the project, waits for the server to be ready (about two minutes), sets up the database, configures sign-in, fetches the public key and registers the short name. Keep the tab open.

  6. The final screen says Your group cloud is ready ("A nuvem do seu grupo está pronta") and shows the cloud's short name and link. Keep both: this browser already remembers the cloud, but on another computer they are how you get back to it. Send to my email ("Mandar para o meu e-mail") composes the message in your e-mail program; Download a file with the address ("Baixar arquivo com o endereço") saves a .txt with the name, the link and the emergency database password. Supabase requires that password when creating the project: QualiLab created it, shows it only now (under Emergency database password, "Senha de emergência do banco") and keeps no copy. The app does not need it; it is for emergencies and for whoever one day administers the database directly. Keep the file somewhere safe. Technical check ("Conferência técnica") shows what the app checked on the new server.

    The final creation screen: "Your group cloud is ready", the reminder that the account is still to be created, the block "Keep the address of your cloud" with the short name labdados-exemplo and the cloud's link (each with Copy), the buttons "Send to my email" and "Download a file with the address", the main button "Enter and create my account" and, folded, the emergency database password and the technical check.
    The final creation screen: "Your group cloud is ready", the reminder that the account is still to be created, the block "Keep the address of your cloud" with the short name labdados-exemplo and the cloud's link (each with Copy), the buttons "Send to my email" and "Download a file with the address", the main button "Enter and create my account" and, folded, the emergency database password and the technical check.
  7. Click Enter and create my account ("Entrar e criar minha conta"). The page reloads already on the new cloud, and the entry screen offers Create my account ("Criar minha conta"): the account lives on that server, and the first one is yours, the coordinator's. Then create the project (as in 2.3, above) and call in the team.

Who sees what. The authorization gives QualiLab, while the server is being created, the power to create and configure a project in the organization you chose. The calls go through a QualiLab function, which talks to Supabase on your behalf and keeps nothing; the new project's secret keys never leave it. Research data never goes through it: it goes from the browser straight to the group's server. The function's code is open, in the repository.

A consequence worth knowing. A cloud created by the wizard does not confirm e-mail at sign-up: anyone with the cloud's address can create an account at once, with no code. That is on purpose: Supabase's built-in mail server sends about two e-mails per hour, and institutional mailbox filters burn confirmation links before the person clicks. For a closed group this is enough, because nobody sees any project without the invitation code. The price is that nobody proves they own the e-mail they typed, so an invite locked to an e-mail protects less than it seems. To close the door once the team is in, see Maintenance and free plan limits.

If something goes wrong, the screen says what happened and offers Try again ("Tentar de novo"), which goes back to the start:

  • The authorization was not granted: nothing was created.
  • The return from supabase.com arrived in a different tab (it tends to happen when Supabase's e-mail confirmation opens another tab): nothing was created, and the account and the organization are still there. In QualiLab's tab, try again, answer Yes, I already do and authorize.
  • The free account already has two active projects, the plan's maximum: pause or delete one in the Supabase dashboard and try again.
  • The server is taking longer than usual: wait a few minutes and try again; the project already created shows up in the dashboard.
  • Creation stopped after the project was created: the screen says which one. Finish through the manual path, or delete it in the dashboard and start over.
  • Another cloud registered the short name in the meantime: the cloud is ready; pick another name, or go on without one.

Setting it up by hand

On the wizard's first screen, I already have a server, or I prefer to set it up by hand ("Já tenho um servidor, ou prefiro configurar à mão") opens the five steps (and Back to automatic creation, "Voltar à criação automática", goes back). Each step has buttons that open the right page of the Supabase dashboard. The dashboard is in English, and this manual quotes the names as they appear there; if a button moves, look for it by name.

The manual path, on the "4. Sign-in" step (in Portuguese, "4. Login"): at the top, the tabs Create, Address and key, Database, Sign-in and Check; below, the address for the "Site URL" (https://luizpf42.github.io/QualiLab/) and the one for the "Redirect URLs" (the same, ending in **), each with Copy, the buttons that open the dashboard pages, the explanation of e-mail confirmation at sign-up and the "Confirm signup" template with the code, ready to paste.
The manual path, on the "4. Sign-in" step (in Portuguese, "4. Login"): at the top, the tabs Create, Address and key, Database, Sign-in and Check; below, the address for the "Site URL" (https://luizpf42.github.io/QualiLab/) and the one for the "Redirect URLs" (the same, ending in **), each with Copy, the buttons that open the dashboard pages, the explanation of e-mail confirmation at sign-up and the "Confirm signup" template with the code, ready to paste.
  1. Create ("Criar"). Create the Supabase account, an organization on the Free plan and a new project (New project). Under Region, choose South America (São Paulo). Supabase asks for a Database password: generate one and keep it with whoever administers the server (QualiLab does not use it). Under Security, leave the options as they come: Enable Data API must stay on.

  2. Address and key ("Endereço e chave"). The address is the Project URL (https://<code>.supabase.co), shown in the project dashboard right under its name. The key is under Project Settings → API Keys: use the public key, anon public or publishable. Never the service_role or the secret one: they override every access rule, and the wizard refuses them. The public key may circulate among the team: it ships in every page that talks to the server, and what protects the data are the accounts and the access rules the database installs.

  3. Database ("Banco"). Click Copy schema.sql ("Copiar o schema.sql") and Open the SQL editor ("Abrir o editor de SQL"); paste everything and click Run. Supabase warns Potential issues detected, because the script has delete commands: that is expected (they exist so the script can run again without duplicating anything, and a new project has nothing to delete), so click Run query. Success. No rows returned is the right result.

  4. Sign-in ("Login"). Under Authentication → URL Configuration, put in Site URL and in Redirect URLs the two addresses the wizard shows, with Copy next to them. That is where the "forgot my password" link and the Google sign-in come back to; without them, Supabase sends the person to localhost:3000, which opens nothing. Then decide on e-mail confirmation at sign-up:

    • Turn it off, the simplest for a closed group: turn off Confirm email under Authentication → Sign In / Providers → Email. The account goes straight in, with no code, with the same consequence as a cloud created by the wizard.
    • Keep it: QualiLab asks for a typed code, not a link, so the Confirm signup e-mail template must carry the code ({{ .Token }}; the wizard shows a template ready to paste). To edit the template, Supabase requires your own mail server (SMTP), under Authentication → Emails → SMTP Settings. Any service with SMTP will do, and Brevo needs no domain of your own. Without your own SMTP, the whole project sends about two e-mails per hour.

    Google sign-in is optional (Sign In / Providers → Google, with a registration on Google Cloud).

  5. Check ("Conferir"). Check now ("Conferir agora") queries the server with the public key, without signing in to any account, and lists what it found: whether it answers and accepts the key, whether the database is at the version the app expects, whether the file buckets exist (PDFs and mirrors), whether live updates are on, and how sign-in is set. Fix whatever comes with ✗ and check again. When all is well, click Connect to this server ("Conectar a este servidor"); the link for the team shows right below.

Bringing in the team

Each person creates their own account on the group cloud (a public-cloud account does not work there) and joins the project through the invitation. A colleague reaches the server in three ways, and none of them carries a password, only the address and the public key:

  • By the short name. On the entry screen, under With my group → Sign in, choose Another cloud… ("Outra nuvem…") and type the name. The first time a name leads to a cloud this browser does not know, the app shows the address before asking for the password: check it with whoever gave you the name and click This is it, go on ("É esta, continuar"). A short name is a shortcut, not a guarantee of whose cloud it is, because anyone can register a free name.
  • By the cloud's link, the one on the final screen or under Link for the team ("Link para a equipe"), at the bottom of the entry screen: whoever opens it sees which server it points to and confirms under Check and connect ("Conferir e conectar"). The link never switches servers on its own, and the app refuses a link that carries the secret key.
  • By the invitation link (copy link, in section 13): it carries the server and the project code together, and after creating the account the person lands right on Join the project ("Entrar no projeto").
The Sign in panel, open on the entry screen: the labdados-exemplo cloud chosen in the list (with its address and the × to forget it), the "Another cloud…" option, the e-mail and password fields, the Sign in button, "First time in this cloud? Create an account" and "Forgot my password"; below, "Connect by address and key", "Create a cloud for my group" and "Connect to the public cloud (deprecated)".
The Sign in panel, open on the entry screen: the labdados-exemplo cloud chosen in the list (with its address and the × to forget it), the "Another cloud…" option, the e-mail and password fields, the Sign in button, "First time in this cloud? Create an account" and "Forgot my password"; below, "Connect by address and key", "Create a cloud for my group" and "Connect to the public cloud (deprecated)".

After the first time, the cloud stays in the list of the Sign in panel and under Carry on where you left off (2.2). The list keeps only the address, the public key and the short name, never the e-mail; the × next to a cloud forgets it in this browser.

Keeping the server up to date

Some QualiLab versions change the database, and the CHANGELOG says when. On entering a group cloud, the app checks the database version; if the server is behind this version of QualiLab, the entry screen shows a notice and the status bar shows server out of date ("servidor desatualizado"). Until it is updated, some features may fail.

The entry screen connected to a group cloud, with the notice that the server is at database version 2 and the app needs 3, and on top the "Update the group server" window: what the update does, who can do it, the "Update through supabase.com" button and, folded, "I prefer to do it by hand".
The entry screen connected to a group cloud, with the notice that the server is at database version 2 and the app needs 3, and on top the "Update the group server" window: what the update does, who can do it, the "Update through supabase.com" button and, folded, "I prefer to do it by hand".

Update the server ("Atualizar o servidor") opens the update window:

  • Update through supabase.com ("Atualizar pelo supabase.com") asks again for the authorization on Supabase and installs on the server this version's database structure (tables, access rules and functions). Projects and data stay. The update runs whole or not at all: if the database refuses, the server stays as it was. It takes a few seconds. It only works for whoever holds the Supabase account that reaches the project, usually whoever created the cloud; for everyone else, nothing is touched.
  • I prefer to do it by hand ("Prefiro fazer à mão"): copy this version's schema.sql, run it in the project's SQL editor, as in the Database step, and click Check again ("Conferir de novo"). Running schema.sql again is safe: it adds what is missing without deleting projects or data.

A server newer than the app never shows as out of date; in that case, reload the page to get the current version of QualiLab.

Maintenance and free plan limits

With your own cloud, maintenance becomes the group's job:

  • Pause for inactivity. The free plan pauses the project after a week without use. Nothing is lost: whoever holds the account reactivates it with one click (Restore project) in the Supabase dashboard. While the project is paused, the app says the server did not answer.
  • Size. 500 MB of database and 1 GB of files (the original PDFs, which are uploaded only when the team consents). Usage shows on the organization's page in Supabase. A very large project may call for a paid plan, or for file mode, which has no such ceiling.
  • Two active projects per free account. To create a third, pause or delete one, or use another account.
  • Backups. Export the project (.qualilab) from time to time and use mirrors before big operations. What the Supabase plan includes in backups is at supabase.com/pricing.
  • Closing sign-ups. Once the whole team has an account, you can turn off Allow new users to sign up under Authentication → Sign In / Providers, and turn it back on when someone new arrives. With sign-ups closed, the server check warns that only people invited from the Supabase dashboard can get in.
  • Two people in the dashboard. Under Organization → Team, invite someone else from the group to administer Supabase: if the only administering account disappears, the database is left without an owner.
  • Keep the file from the final screen (address and emergency password) with the group's other papers.

Moving a project from the public cloud to the group's

QualiLab's public cloud will be shut down on 31/12/2026. Until then it stays available, under Connect to the public cloud (deprecated) ("Conectar à nuvem pública (deprecado)"). To move a project out of it:

  1. On the public cloud, download the project as .qualilab (export ▾ → .qualilab).
  2. Create the group cloud (above) or connect to it through With my group → Sign in.
  3. Open the .qualilab (Open an existing file) and use Send to the cloud ("Enviar para a nuvem"), in the project hub (section 13): the new project is created on the connected cloud.
  4. Ask each person on the team to create an account on the new cloud and join through the invitation link.

Document assignment and blind coding do not travel in the .qualilab: set both up again in the new project before the team resumes coding. Codings brought from the file keep the name of whoever coded them but, since they came from a file, only the administration can remove them.

Common problems with the group cloud

  • "The server did not answer." Check the address; if it is right, the project may be paused (reactivate it in the Supabase dashboard).
  • "The server refused the key." The key you pasted is not this project's public key, or it came incomplete.
  • The sign-up e-mail brings a link, but QualiLab asks for a code. The Confirm signup template is still Supabase's default: turn confirmation off, or set up SMTP and the template with the code (the Sign-in step).
  • The e-mail does not arrive. Without your own SMTP, the project sends about two e-mails per hour, counting sign-ups and "forgot my password". Check spam and wait, or set up SMTP.
  • "Forgot my password" opens localhost:3000 or an error page. The Site URL or the Redirect URL is missing (the Sign-in step). A cloud created by the wizard already comes with both.
  • A colleague cannot find the project. They signed in to another cloud (check the cloud's name in the Sign in panel) or with another account.

3. The interface

The Coding screen with a project open: on the left, the reader with passages highlighted in each code's color; on the right, the Attributes and Codes panels. At the top, the two-line header with the tabs and the project pill.
The Coding screen with a project open: on the left, the reader with passages highlighted in each code's color; on the right, the Attributes and Codes panels. At the top, the two-line header with the tabs and the project pill.

Once a project is open, the header has two lines:

First line

  • The QualiLab brand and the interface theme button — it cycles automatic (follows the system's light/dark; the default) → light → dark. Not to be confused with the reader theme, which lives in the document bar.
  • The main tabs, grouped by subject with thin dividers (code · read and organize · analyze · publish); the active tab is underlined:
Tab What for
Coding ("Codificação") Read the document and apply codes/attributes
Reconciliation ("Reconciliação") (collective project only; hidden under blind coding and in focus mode) consolidate the reference layer
Reading ("Leitura") Read the whole document, or every passage of one code
Memos Analytic notes
Scheme ("Esquema") Organize codes and attributes in bulk (hidden in focus mode)
Charts ("Gráficos") Frequencies, word cloud, co-occurrence etc.
Auto-coding ("Auto-codificação") Repeat coding (no AI) and, (optional, BYOK), AI proposing coding/attribute filling/organization and inducing a attribute's definition; you approve
Analyze with AI ("Analisar com IA") (optional, BYOK) analytic conversation about material you select
Explore with AI ("Explorar com IA") (optional, BYOK; experimental) a conversation where the AI fetches the material on its own, instead of receiving a pre-cut selection
Report ("Relatório") Export reports and transparency packages

The three AI screens are opt-in: with AI turned off in the project (the default), Analyze with AI and Explore with AI do not appear, and Auto-coding keeps only Repeat Coding, which uses no AI. None of the three appears for anyone with the read-only role. Details in section 17.

Second line

  • The project pill, e.g. rascunho · My Project · individual ▾. The prefix shows the storage mode (arquivo = file / nuvem = cloud / nuvem pessoal = personal cloud / rascunho = draft) and the color reinforces where the data lives: neutral = draft (this browser), green = file on your disk, blue = cloud (default server), violet = cloud on your own Supabase, amber = cloud with no connection. Hover for the explanation (in draft mode it includes the % of browser storage used); clicking opens the project management hub. In the cloud, the pill also carries the access code.
  • The project's AI badge, right after the pill: a green ring when the AI features are turned on; barred in red when they are turned off or restricted to admins (hover to see which). Only admins switch it, with confirmation; for everyone else, clicking explains the state (see 17.7).
  • Your name, clickable in every mode (cloud, draft and file) → My account. In offline mode, it is also the door to configure your AI key/model, local Ollama included (see section 17).
  • (Admin, collective project) admin / ● focus ("admin / ● foco"): focus mode hides Reconciliation, the Scheme and the View: filter, so you code like any member (your permissions do not change, only your screen).
  • (Member, with document assignment) the N document(s) of yours pill ("N documento(s) seu(s)").
  • switch project ("trocar projeto") / sign out ("sair") (cloud mode).
  • export ▾ ("exportar ▾") (when there are documents) and import ▾ ("importar ▾") (always, except for anyone with the read-only role).

Status bar (footer) The system's state lives in a thin footer, always in the same place:

  • ✓ saved HH:MM (file/draft) or the cloud state: ✓ nuvem em dia (cloud up to date), offline, and — when the cloud fails — N alterações aguardando envio (N changes waiting to upload), clickable to retry right away (see section 16). If local saving fails, ✕ not saved · download backup ("✕ não salvo · baixar backup") appears, also clickable.
  • In draft mode, the % of storage used (turns amber near the limit).
  • The commands button (the Ctrl+K palette), the shortcuts button (the ? key map) and the manual link (opens this manual in another tab).
  • On the right corner, the version in use (e.g. v1.0.0). Quote this number when reporting a problem: without it there is no way to know which version your browser loaded, since the app updates itself on reload. What changed in each version is in the CHANGELOG.md (in Portuguese).
  • When a new version of the app has already been downloaded, the notice nova versão disponível · recarregar (new version available · reload) appears here — one click applies it.

Right below the header, notice banners may appear: in draft mode, the amber one reminding you that the data stays only in this browser (with Save as a file ("Salvar como arquivo") and Connect to the cloud ("Conectar à nuvem")); errors (red); the import summary; import in progress (with a progress bar); save failure; and changes the cloud rejected (see section 16).

Command palette (Ctrl+K). On any screen, Ctrl+K opens a search box that takes you straight to a document (type part of its name), to a screen or to an action (download .qualilab, search across all documents). With many documents, it is the fastest path there is. The ? key shows the shortcut map (section 19).

The screen you are on lives in the address. Switching tabs changes the browser address, and the open document and sub-tab go along. Two useful consequences: the browser's "back" button works (it goes to the previous screen, not out of the app), and you can copy the address and send it to someone — whoever opens the same project lands on the same screen, on the same document. In collective research it is the shortest way to say "look at this one".

Resizing the panels

Every screen with a side panel has a divider between the panel and the content: drag it to change the width. Double-click returns to the default. By keyboard, the divider takes focus via Tab and the ← → arrows adjust it 16 pixels at a time.

The chosen width applies to every screen with the same panel type (you adjust once, not once per screen) and survives reloading, per browser. There are three groups:

Panel Where
Navigation and filters (left) Reading, Charts, Memos, Reconciliation, Report
Work panel (right) Coding, Scheme
AI configuration (left) the Auto-coding tabs and Analyze with AI

Keyboard and accessibility

  • Code trees (the Coding panel, Scheme and Memos): ↑ ↓ walk through, ← → close and open a node, Home/End jump to the ends and Enter activates the row (selects the code or, if you have a passage selected, applies the code to it). The focused item gets a blue ring.
  • Dialog windows: on opening, focus enters the window; Tab and Shift+Tab cycle inside it, without leaking to the page behind; Esc closes; and on closing, focus returns to the button that opened it.
  • Narrow screens (phones, below ~720 px): a small-screen notice appears. You can read and consult, but not work comfortably: the reader and the panels do not fit side by side. On a tablet, selecting a passage by touch opens the floating code bar. To really work, use a computer.

4. Documents

Uploading files

On the Coding tab, at the top of the reader, click + add ▾ → upload file(s)… and choose one or more .txt, .md, .docx or .pdf files. The text is extracted and displayed for reading.

  • PDF: the text goes through a geometric reflow that detects columns (two-column articles stop coming out scrambled), removes repeated headers, footers and page numbers, reassembles paragraphs and fixes end-of-line hyphenation. Tables are not reconstructed, and a scanned PDF (image only, no text layer) needs OCR (see below).
  • DOCX: the structure becomes clean text (headings, paragraphs, lists with nesting by indentation, and tables as rows/columns), without dirtying the content with artificial markers. Rich formatting (bold, color) does not become style in the reader: the focus is the content to be coded.

Paste text

Under + add ▾ → paste text… you create a document from copied text, no file needed (in an empty project, the paste text… button appears in the middle of the reader).

Switch documents, rename, and edit the text

  • The button with the document's name, at the top of the reader, opens the project's document list: filter by name (ignores accents and case), sort by name or by import order and, once you have filled in attributes, group by one of them. The ↑ ↓ arrows walk the list, Enter opens the highlighted document and Esc closes. The sort/group choice is stored in this browser and carries over to your next projects.

    The import order tends to look random: in a .qdpx it is the order of the entries inside the package, not alphabetical. That is why the list comes sorted by name already.

  • Actions on the open document live in the ⋯ menu (to the right of the search): OCR, edit title and text and delete document.
  • 🗑 delete document removes the open document and all its codings. There is no Ctrl+Z; but, with the automatic mirror on, QualiLab saves the project before the deletion (see Project mirrors). In a collective cloud project, deleting a document is for the administrator.
  • ✏ edit title and text opens the open document's edit mode: there you fix the title and the extracted text, useful when a PDF comes in dirty (a glued-together passage, a leftover footer, a broken line). Save writes both; Cancel discards.
  • When you save a text edit, the existing highlights are automatically re-anchored to the new positions. If some coding falls exactly on the stretch you changed, the app warns before saving (those highlights may need checking).
  • Editing is for local cleanup; corruption of the whole document (for example, an old PDF that comes out entirely without spaces) is a case for OCR, not hand fixing.
  • In a collective cloud project, editing the text is restricted to the administrator (the text is shared, so editing shifts every coder's highlights).

View the original PDF and OCR (scanned documents)

When the document came from a PDF, the reader gains a ▤ original button (toggling with ≡ texto): it shows the actual PDF page, with zoom and page navigation. Over the page, your highlights are drawn in the code's color; selecting a passage on the PDF page codes just like the text reader (right-click → code menu).

For a scanned PDF (image only), use ◎ OCR: read scanned pages (in the ⋯ menu): the app rebuilds the text page by page, reusing native text where it exists and reading by OCR (offline, in your browser) where it is an image, with a progress bar and a cancel option. You can also run OCR on an area: in original mode, the ▭ area OCR button lets you drag a rectangle over a piece of the page; the recognized text opens in an editable box for you to fix before applying and coding. The first run downloads the OCR model (~15 MB) and the process is slow (a few seconds per page).

Extraction quality signal. Documents whose extraction probably went wrong (empty, a PDF with no spaces between words, broken glyphs �■□, or low-confidence OCR) get a ⚠︎ before their name in the document list (hover to read the reason) and an amber ⚠︎ extração pill in the reader. It is a prompt to check and clean (via ✏ edit) or run OCR before coding that document.

Page numbers. Since QualiLab keeps the passage ↔ PDF page correspondence, the original's page number (p. N) accompanies the passage in Reading, in the Report, in the CSV/JSON exports and in the W3C annotations, and ▤ original opens right at the selected passage's page.

Import many documents at once

A spreadsheet (.csv/.xlsx) becomes one document per row, and a Zotero folder becomes one document per reference with an attached PDF. The step by step for both is in Import and export.


5. Coding passages

This is the Coding screen ("Codificação"): reader on the left and, on the right, a panel with three tabs: ⍞ Attributes, ✎ Code (the code tree) and ▤ Memos.

5.1. Creating codes

On the ✎ Code tab (right) you create and organize the labels. A new code is born loose at the top level ("Hierarquia 0") and receives passages right away. You can create subcodes, rename and delete. You can also create a code at the moment of applying it (see below).

When a code becomes a family. The moment it gets its first subcode. If it had no passages yet, the change is silent — there is nothing to decide. If it already had them, QualiLab opens a notice asking where those passages should go, because a family does not receive them (the rule is in Concepts). You have two ways out:

  • mark, passage by passage, the ones that belong to the new subcode;
  • or mark nothing: they all go to a pending subcode, named by default «Name» (geral) — "(general)".

The second exists so you are not forced to triage 80 passages in the middle of a reading. The (geral) subcode records the pending work instead of pretending the classification was done — and you can distribute them later, calmly, in Scheme ▸ Split into subcodes.

Right-clicking a code (in the Coding panel) opens a menu with ✎ Edit code ("Editar código": name, color, saturation, redaction) and + Subcode here ("Subcódigo aqui"). It is the way to work on a code without leaving the coding: with a passage selected, a left click applies the code, so this menu (or the ✎ and + buttons next to each code in the apply menu) is the way to reach the editor without undoing the selection.

The code's entry. When you select a code on the ✎ Code tab, its memo (the definition: what counts and what does not) appears right below, read-only; to edit it, use the ▤ Memos tab. With a passage already selected, clicking the code applies it, so check the entry before selecting.

Research tip. Let the codes emerge from the material (the inductive approach, where themes are born from reading) or apply a prior theoretical scheme (the deductive approach). Both are valid; what matters is being aware of which one you are using. Avoid creating a code for every sentence: if a label appears only once, ask whether it is really a theme or just a detail. And, when creating a code, note in a memo what it includes and excludes: that is, in practice, your codebook, which keeps the coding consistent over time and across people.

5.2. Applying a code to a passage

With a passage selected, right-clicking opens the code menu: click a code to apply it, or "+ Create new code". The blue strip at the top confirms the selected passage.
With a passage selected, right-clicking opens the code menu: click a code to apply it, or "+ Create new code". The blue strip at the top confirms the selected passage.
  1. Select the passage in the text with the mouse.
  2. On release, a floating bar appears glued to the selection: your recent codes, one click each, and the apply code ▾ button ("aplicar código ▾"), which opens the full menu. Or right-click the selection — it is the same menu, by either path.
  3. In the menu, click the desired code; it is applied on the spot. The search code... field filters by the whole path; ↑ ↓ move and Enter applies. With the passage selected, clicking the code on the ✎ Code tab also applies it.
    • Or click + Create new code ("+ Criar novo código"): type the name, choose (at the top) or inside "…" and click Create and apply ("Criar e aplicar"). Creating inside a code that already has passages turns it into a family (see 5.1).
    • With a passage selected, the 1 to 5 keys apply one of up to five recent codes from the session (the numbered list is on the ✎ Code tab, on the right).

When applied, the highlight appears in the text in the code's color. The line under the highlight only appears when more than one code overlaps the same passage. It is the overlap signal. A passage with a single code is only tinted, no line, to avoid clutter.

Minimap. On the reader's right edge, a thin column shows where the highlights are in the whole document (one stroke in each code's color; search hits appear in amber). Click anywhere on it to jump there. In a document dozens of pages long, it is the fastest way to see what has been worked and what has not.

Already have the excerpts in a spreadsheet? If your material is already organized as one row per document and one column per theme, with the quotation in the cell, you can bring it all in at once via import ▾ → spreadsheet (.csv / .xlsx → code passages): each excerpt is located in the document's text and becomes a highlight like the ones made here. See Coding passages in a spreadsheet.

5.3. Removing a code from a passage

You do not need to select again:

  1. Right-click the existing highlight.
  2. In the menu, under Remove code ("Remover código"; admins in a collective project see "Reject / remove code"), click the code you want to take off.

In the same menu, ⇄ Change code swaps the highlight's code without redoing the selection, and Annotate passage (analytic note) opens that passage's note. Shortcut: click the highlight and press Delete; a notice appears with undo.

In a collective cloud project, you only remove your own codings (the administrator can reject anyone's). You cannot erase another researcher's highlight. (In an individual project, everything is yours.)

5.4. Undo (Ctrl+Z)

Ctrl+Z undoes the last coding applied, or the last one removed with Delete, in the current session (up to the last 50). It works only on the Coding tab and outside text fields. Deleting a document, attribute or code, merging and splitting have no Ctrl+Z; with the automatic mirror on, QualiLab saves the project before them and you can restore it (see Project mirrors).

5.5. Redaction (masking sensitive passages)

A code can be flagged as redaction (in the Scheme, by an admin). Passages with that code get a closed box in the reader (redaction's color is black, and the border is what distinguishes it from a common highlight) and come out masked as [trecho censurado] ("[redacted passage]") in the transparency outputs (Report) and in what goes to the AI (section 17) — useful for publishing while keeping names/sensitive data hidden.

Where redaction does NOT apply, and why. The work and migration formats (.qualilab, QDPX, QDC, CSV, JSON) come out complete, with the redacted passages in the clear. It is not an oversight: those files are how you take your own material to ATLAS.ti, MAXQDA or NVivo and bring it back, and masking there would destroy the original text irreversibly, besides making you lose your own redaction work in the migration. The export ▾ menu says so at the moment, in amber, whenever the project uses a redaction code. For material leaving the team, use the Report tab.

And redaction does not reach your screen. While you work, the reader shows the whole text, unmasked: it is a work screen, and hiding it there would keep you from coding. Worth remembering when the computer is shared, when you project the screen in a meeting and, nowadays, when an AI assistant is given permission to see your screen — one authorization, and by that path the material appears as it is. No analysis software can prevent that, and QualiLab is no exception: the mask lives in the artifacts (Report) and in what is sent to the AI screens, which is where the material leaves your side.

Redaction protects what you marked, not the term. Marking "Banca Exemplo Advogados" in one paragraph does not protect the other five mentions of the same firm. For that there is the Repeat Coding tab (in Auto-coding): it takes the passages the code already has and shows the other identical occurrences in the corpus, for you to approve one by one. It does not find variants: "Banca Exemplo" alone, or "the firm", remain a case for search +, where the judgment is yours. Before publishing, see 12.4.

5.6. Reading controls

The bar at the top of the reader adjusts reading only (preference saved in the browser):

  • A- / A+: decreases/increases the font.
  • ⬌ / ⬍: toggles between the narrow reading column (~65 characters, the default) and the full column.
  • ◔ / ◗ / ◕: reader theme: light / sepia / dark (independent of the interface theme).

5.7. Searching (in the document and across the project)

Click 🔍︎ search ("pesquisar", the magnifying glass). Type the term: occurrences are highlighted on top of the code highlights, with ‹ previous / next › navigation (and Enter / Shift+Enter), wrapping around at the end.

The + button glued to the magnifying glass opens search + ("pesquisar +"): the same search, but across every document in the project. Results come grouped by document, each with the surrounding text so you can recognize the context; clicking an occurrence opens that document exactly on it, with the search already active in the reader.

The same two buttons are in Reading, on the Documents sub-tab. There, clicking an occurrence in search + opens the document in Reading itself, without changing the document open in Coding. It is one search for both screens: the term and the options carry over when you move from one to the other.

The two searches share three options (the small buttons next to the field):

  • Aa: case-sensitive. Off, réu and RÉU are the same thing (accents, however, count: reu does not find réu).
  • ab⃒: whole words only: searching reu ignores reunião and ocorreu.
  • .*: treats what you typed as a regular expression, for patterns instead of fixed text. E.g. \d+/\d{4} finds case numbers like 123/2020; réu|ré finds both forms. With the option off, characters like . and ( are searched literally. An invalid pattern is flagged right away.

The options apply to both searches at once: if you turn regex on in search + and click a result, the reader opens with the same pattern and the same options.

Similar terms (≈ terms)

In search + there is a fourth button, ≈ terms, which solves the problem of not knowing which words the material uses for the subject. You type the idea you are looking for (one or two words are enough) and it shows the words of your own corpus that live in the same field of meaning, with how many times each one appears.

Searching for "fear of losing the job", it suggests dread, dismissal, insecurity — words the normal search would never find from what you typed, because they share no letters with your query.

The suggestions include expressions of up to five words, not just single words: "crisis of the State" brings up crisis of democracy, fiscal crisis, Regulatory State. They are expressions taken from your own material: only the ones that repeat make the list, because a word sequence that appears a single time is usually an accident of writing, not a term of the field.

Click the suggestions that serve you. Accepted terms join the search along with what you typed, and every occurrence that came from one of them is tagged ≈ word, so you never lose sight of why that result is there. Clicking goes to the document, with the word highlighted, like any search.

Why suggest words instead of showing passages directly? Because the program errs, and it is better that it err in plain sight. Rare or very abstract words sometimes produce nonsensical neighbors; seeing "forensics" in the list you simply do not click it, and you lost one second. If the error came baked into a list of passages, you would lose minutes reading material that had nothing to do with it, without knowing why.

On the first use it needs to read the project's vocabulary: the button appears as soon as you turn the option on. That downloads a language model (from ~113 MB to ~220 MB, depending on what your browser supports; once only — it is then kept in the browser) and walks through the corpus's words, with a progress bar and an option to interrupt. When you add or edit documents, the program tells you the corpus changed and offers to read it again.

Nothing leaves your computer. Unlike the AI screens, this talks to no server: the model runs inside the browser and the vocabulary stays on your machine. It works offline after the first download and needs no API key.

5.8. The "View:" filter (whose work is shown)

The View: ("Ver:") selector controls whose highlights and attribute answers are displayed. It appears in collective projects and also when there is more than one coder (e.g. imported data with several authors). In a collective project, the options are:

  • Individuais (todos) — everyone's individual work: overlays every researcher's highlights and the reference layer's. You keep working normally here: the highlights you apply are yours, and each attribute field shows and edits your answer, with your colleagues' answers and the reference layer right below, read-only.
  • Minhas — mine: your work only (in the attributes, the reference layer's value, if any, appears below the field, read-only).
  • (each researcher's name): one colleague's work (read-only).
  • Final / gabarito — the reference layer: the consolidated layer (read-only here; it is edited in Reconciliation).

In an individual project with more than one imported author, the selector shows All coders and each author's name. Under blind coding the selector does not appear (in its place is the blind coding pill).

Why are some views read-only? When the screen shows someone else's answer — under (a researcher's name) or under Final / gabarito —, editing there would write under your identity: the field would show one value and change another. That is why those two are read-only, and the reference layer is edited in Reconciliation. Under Individuais (todos) and Minhas the field is always yours, so both are editable.

5.9. Code filter (only one code's highlights)

View: chooses whose highlights are shown; the code filter chooses which codes. On the reader bar, click the funnel (next to View:), search by name and tick one or more codes: the document then shows only their highlights — with two ticked, one's and the other's, to compare where each appears. The list stays open while you tick; close it with Done, Esc or a click outside. Ticking a family includes all of its subcodes. The number next to each code is how many codings it has in the open document.

  • With the filter on, the funnel becomes a chip with the code's colour and name (or "2 codes", "3 codes"… when there are several). Click it to change the selection; clear, at the foot of the list, shows everything again. In Reading the chip also has an ✕ to clear directly; in Coding, where the bar is tighter, it does not.
  • There is one filter for Coding and for Reading ▸ Documents: chosen in one, it applies in the other.
  • It also filters the minimap at the edge of the reader (where that code appears in the document) and what the right-click menu offers: a highlight hidden by the filter is not offered for changing or removing.
  • Applying a code outside the filter works normally, but the new highlight starts out hidden; the app says so ("hidden by the code filter"), with an undo option.
  • The filter does not touch the codes panel, the original PDF view, or the Passages sub-tab of Reading, which has its own code selector.

6. Attributes (per-document fields)

In the Attributes panel (right, on the Coding tab) you answer the attributes of the open document.

The seven types

Type How you fill it
Closed Text ("Texto Fechado") Dropdown, pick one
Open Text ("Texto Aberto") Free field
Number ("Número") Numeric field (you can type 12,5; the app stores 12.5)
Date ("Data") DD / MM / YYYY, with optional parts (you can enter just the year)
Yes/No ("Sim/Não") Two buttons
Multiple Choice ("Múltipla Escolha") Buttons, pick one
Checkbox ("Caixa de Seleção") Buttons, pick several

Why Number and Yes/No are types, and not text. What you write in a text field the app cannot sort or sum, and on export it reaches MAXQDA or NVivo as text — unsortable there too. As a Number, the value leaves the .qdpx typed (Integer or Float, depending on the values) and comes back typed; as Yes/No, it leaves as Boolean. What is not a number is not accepted in the field (it turns red): that is what guarantees the whole column keeps working as numbers.

Each attribute can have a description/instruction and enable special options: "Não informado" (not informed; all types) and, in the types with a list of values, "Outros" (others, with a free value).

Click an attribute's name to collapse it: the row keeps showing the value (or "—"). If you have not answered yet and there is a reference layer, the collapsed row shows the reference value in italics; the field stays empty on purpose, because it is your answer.

The description is the coding instruction, and a full entry fits in it. The field is multiline and line breaks are preserved wherever it appears, so it is worth writing there what actually governs the answers: the definition in one sentence, what counts as each value, the boundaries and tie-breakers, what to ignore. It pays off because it is a single text for both evaluators: it is what the human coder reads when answering and what goes into the AI screens' prompt. If you have already answered some documents and do not know how to write that entry, the Define Attribute tab proposes one from your own answers.

Research tip. Create a attribute only if you will compare or count by it later (year, court, interviewee profile). That is what feeds the filters and the Charts. A attribute that never enters a comparison becomes dead weight. Think of them as the columns you would want in a spreadsheet to cross with the themes (which are the codes).

Who defines them and who fills them in

  • Defining the scheme (creating attributes, types, options): admin, under "Manage attribute scheme" ("Gerenciar esquema de categorias", inside the Attributes panel) or on the Scheme → Attributes tab.
  • Filling in: whoever can code (per the project's rules matrix) answers their own version; the read-only role does not fill in; the admin sets the reference layer.
  • The displayed answer follows the View: filter (viewing another researcher's is read-only).

7. Scheme

The Scheme tab (Codes sub-tab): the code tree with its hierarchy (the "Adoption and motivation" family expanded into subcodes), reorderable by dragging the ⠿ handle. Checking two or more boxes unlocks the "Group" and "Merge" actions.
The Scheme tab (Codes sub-tab): the code tree with its hierarchy (the "Adoption and motivation" family expanded into subcodes), reorderable by dragging the ⠿ handle. Checking two or more boxes unlocks the "Group" and "Merge" actions.

The Scheme tab ("Esquema") is a full screen (no open document) for organizing everything at once. It has two sub-tabs.

7.1. Attributes

The Scheme tab (Attributes sub-tab): one card per attribute, with name, type, the multi-line description/instruction, the values and the special options. On the first card the description was changed and not yet saved, so "discard" and a highlighted **Save** button appear; on the second, with nothing pending, the button shows "Saved ✓".
The Scheme tab (Attributes sub-tab): one card per attribute, with name, type, the multi-line description/instruction, the values and the special options. On the first card the description was changed and not yet saved, so "discard" and a highlighted **Save** button appear; on the second, with nothing pending, the button shows "Saved ✓".

The same editing as the Attributes panel, but focused on building the scheme: create, edit types and options, and reorder by dragging the ⠿ handle (the dragged item turns translucent; a blue line shows where it will land).

The name and the description only take effect when you click "Save" ("Salvar"). While something is unsaved, the button stays highlighted and a discard ("descartar") appears next to it, returning both fields to what is stored; with nothing pending, it shows "Salvo ✓" (Saved ✓). This is deliberate: the description is the instruction the team and the AI follow, and a bump against the field should not change the project's scheme. What you wrote is not lost if you switch screens and come back — and, when the "Manage attribute scheme" panel is collapsed, a notice in its title warns there is an unsaved change. The rest of the card (the type, the values, the "Não informado" and "Outros" checkboxes) takes effect immediately, because those are clicks you undo by clicking again.

The description field is resizable: drag its bottom-right corner to write the whole entry comfortably.

7.2. Codes (bulk reorganization)

Designed for whoever finished an open coding with hundreds of loose codes and wants to organize them. It is a tree with checkboxes; the right panel changes with the selection:

  • Single click on one code (on the row, not the box) → edit the name (and, if you are an admin, the color and redaction of the top-level family) + Promote to top level ("Promover a Hierarquia 0", if it is a subcode) + the Links section + ⑃ Split into subcodes ("Dividir em subcódigos", if it has passages).
  • Check 2 or more (boxes) → two actions appear:
    • Group ("Agrupar"): the checked ones become children of a code (an existing one, chosen from the list, or a new one). They stay separate, they only gain a parent. They adopt the parent's color. If the chosen parent already has passages of its own, it becomes a family and QualiLab first asks where those passages should go.
    • Merge ("Mesclar"): pick a survivor (suggestion = the most frequent); the others' codings are reassigned to it and the others are deleted. Administrators only (it reassigns everyone's codings). There is no Ctrl+Z; the app confirms first and, with the automatic mirror on, mirrors the project beforehand. The merged codes' children are preserved (they pass to the survivor).
  • Reorder among siblings: drag by the ⠿ handle (it only reorders within the same parent; to change parents, use Group).

Splitting a code into subcodes

The inverse of Merge, and the tool for when a code got too wide: you open it and distribute its passages among several new subcodes, all at once.

Select the code and click ⑃ Split into subcodes ("Dividir em subcódigos"). The screen has:

  1. the new subcodes — as many as you want, one per line;
  2. a table with one passage per row and one column per subcode. Check the cells. A passage can go to more than one subcode: the first receives the original passage (with its note, if any) and the others receive a copy;
  3. keys 1 to 9 check the corresponding column on the focused row, and the ↑↓ arrows walk the rows. That is what makes distributing dozens of passages viable;
  4. Mutually exclusive ("Mutuamente exclusivo"): each passage can only go to one subcode. Check it if you compute inter-coder agreement — the coefficient presupposes that within a single domain;
  5. what you do not check goes to the (geral) subcode, whose name you can change.

At the end, the split code becomes a family (0 passages of its own) and starts showing the sum of its children. It is an administrator action, because it moves every researcher's codings.

A note on method. The split is the moment distinctions become explicit: separating "Productivity gains" into "Research acceleration" and "Task automation", you are recording an argument about the material, not just tidying the tree. It is worth writing in each subcode's memo what it includes and excludes, while the criterion is fresh.

7.3. Viewing the codes as a Map (spatial whiteboard)

The code Map (Scheme → Codes → ⊞ Map): each code is a bubble (its size reflects how often it was used; the color is the family's), linked to its children by lines. Drag to organize; the layout is saved with the project.
The code Map (Scheme → Codes → ⊞ Map): each code is a bubble (its size reflects how often it was used; the color is the family's), linked to its children by lines. Drag to organize; the layout is saved with the project.

At the top of the codes panel, the ⛼ Tree / ⊞ Map selector ("Árvore / Mapa") swaps the hierarchical list for a spatial whiteboard: each code becomes a bubble (its size reflects the number of passages; the color is the family's) and lines link parent and child. It is another way to see and reorganize the same scheme, useful when there are many codes.

  • Drag the bubbles to position them as you like; the layout is saved with the project. ⤢ fit ("ajustar") frames everything on screen; ↻ reshuffle ("reembaralhar") recomputes the positions (overwriting the layout); ☑ lines ("linhas") shows/hides the hierarchy links.
  • Selecting: click a bubble; Ctrl+click or the lasso (the ▚ tool, dragging on empty space) mark several. The ✜ tool pans the view; the mouse wheel zooms.
  • Right-clicking a bubble opens a menu whose target is the destination: create a subcode, move the selection into it, merge the selection there (the target survives), promote to the top, group under a new parent, or delete. They are the same operations as the Tree, with the same protections.

7.4. Colors and redaction (admin)

When editing a code, the admin can:

  • Pick the family color through a hue control (0–359) and a saturation one, or black, propagated to the subcodes.
  • Flag the code as redaction (forces the color black). See 5.5.

Redaction follows the position in the tree. A subcode created inside a redaction family is born redacted, and moving or grouping a code into it also flags it, along with its subcodes. QualiLab warns first, saying how many codes and how many passages become masked; in collective research this counts as a redaction change, so it is an admin action. The reverse path is different on purpose: taking a code out of the family does not unflag its redaction, because unflagging must be an explicit decision, made in the code's own redaction checkbox. If you merge a redaction code into a normal one, its passages stop being masked: QualiLab warns and asks for confirmation, but the decision is yours.

Important: the Codes panel on the Coding tab still exists and is independent. Bulk reorganization lives only here in the Scheme, on purpose (fewer habit changes on the coding screen).

Coding creates sets: "these passages are about X". A link records what the code alone does not say — the structure between the sets: Judicial activism contradicts Deference to the legislature, Collective moral damage is part of Civil liability, Economic reasoning is associated with the attribute Ruling outcome.

Where it lives. With a code selected, the Links section shows up in the right-hand panel, below the code editor. For an attribute, it sits inside its card, in Scheme ▸ Attributes, folded into a "Links" you open (only the administrator, who is the one who edits the attribute scheme, sees attribute links there).

How to create one. Click + connect and answer: the relation (the type of arrow), the other side (a code or an attribute, in the same search box) and, if you want, a comment saying why you linked the two. Your name goes with it.

Evidence (optional). When the origin is a code that already has passages, the dialog lets you pick one of them as evidence for the claim — the passage that backs what you are saying. The list shows the first passages of that code; to point at another one, cite it in the comment. The anchor travels in the .qualilab, and the export warning says it does not fit in the .qdpx.

How to read the list. The arrow reads from the code or attribute you are looking at:

arrow means
→ from here to there
← from there to here
↔ holds both ways
· no defined direction (association)

Relations are your study's vocabulary. The project already comes with six — is associated with, is part of, is cause of, contradicts, is a, is property of —, the same ones other qualitative analysis tools use. You create your own by picking new relation… in the selector: give it a name (depends on, precedes, justifies) and say whether it has a direction (from here to there), holds both ways, or has no direction at all. The admin renames or deletes the relations stored in the project under manage relations… ("gerenciar relações…"), right below + connect: renaming applies to every link that uses the relation (and refuses a name that already exists), and deleting is only possible when no link uses it. The six built-in ones always appear in the selector, even when they are not on that list, because they only enter it on first use.

⚠️ A link is an annotation, not a measurement. It records what you observe or suppose, under your name. It counts nothing in the corpus and proves no association. What measures association in your data is Co-occurrence and Code × Attribute, in Charts. Both readings coexist, and it is good that they do: the link says what you claim, the chart says what the material shows — and the gap between them is often the finding.

What QualiLab will not let you do, and why. A code does not connect to itself. The same link does not go in twice (in a relation with no direction, A→B and B→A are the same claim). A redaction code does not go into a link: it marks what stays hidden, it is not an analytic category.

When you change the scheme. Deleting a code or an attribute takes along the links where it was one of the ends — the warning says how many before you confirm. When you merge codes, links move to the surviving code; those that would become duplicates (or a code linked to itself) are dropped, and QualiLab tells you how many.

Who can. Reading code links is for any member. Creating and deleting follows the same permission as creating and editing codes in the project's rules matrix (13). Renaming or deleting a relation is for the admin, because it changes the whole project's vocabulary.

In the files. In the .qualilab links go out and come back whole. In the .qdpx (REFI-QDA) they leave as <Link>, which is the standard's own form, and QualiLab also reads the <Link> elements of projects coming from other tools. Two things stay out of the .qdpx and are named in the export warning: the passage marked as evidence for a link (the standard has nowhere to point at it) and, on import, links between passages, which QualiLab does not do yet.


8. Reconciliation

Reconciliation, Codes tab, document ENT-01: each group gathers the codings that overlap on the same code (the code's path, who coded it and the passage). Here they are all already "in the final layer", with the option to remove them; when they are not yet, "Consolidate into final" appears.
Reconciliation, Codes tab, document ENT-01: each group gathers the codings that overlap on the same code (the code's path, who coded it and the passage). Here they are all already "in the final layer", with the option to remove them; when they are not yet, "Consolidate into final" appears.

Collective projects only, and it does not appear for anyone under blind coding. If your project is individual, skip to section 9. This is where the team consolidates the reference layer from each researcher's individual work. The left column always has both sections, Attributes and Codes, each with two lists that open and close: Documents (reconcile everything in one document, or (All documents) for the whole project at once) and Attributes or Codes (reconcile one attribute, or one code, across all documents). The lists start collapsed, and a collapsed list shows next to its title what is selected in it. Clicking an item takes you to its section.

Attributes. For each document and attribute, you see the reference answer (which the admin sets) and, below it, each researcher's answer with ✓ (same as the reference), ✗ (different) or · (no reference yet). With no reference, each attribute says whether the coders agree or differ among themselves (a blank answer does not count). Under Your answer, any coder records or changes their own, without touching the reference layer. In (All documents) mode, you pick one attribute and consolidate it document by document.

Codes. Each group gathers the codings that overlap on the same code, with the passage and who coded it. The "N of M · consensus" badge shows how many coders marked that passage; when everyone agrees, the card is highlighted. You consolidate each group into the final layer (Consolidar no final →) or, if it is already there, you can remove it from final.

  • I agree ("Concordo"): records that you would also apply that code to that passage. It creates a coding of yours in the individual layer and does not touch the reference layer — so it is the gesture of someone who codes (any member), while consolidating is the gesture of someone who consolidates (the admin). The tally rises immediately ("2 of 3" becomes "3 of 3 · consensus"), and the undo button next to it removes the agreement. If the passage already has a coding of yours, the card says your coding and offers no button: you are already in the group.
    • A coding created this way is flagged as an agreement, and is not confused with one you made on your own while reading the document. The distinction matters because agreeing here is deciding while seeing the others' answers — which serves to close the reconciliation, but is not the same evidence as two people reaching the same passage independently. It is also what makes undo erase only the agreement, never your original work.
    • The same gesture is on the right-click over a highlight in Reading ▸ Documents: agreeing while reading the whole document, without leaving the text. It records exactly the same thing (the group's passage), and this screen recognises the agreement as yours.
  • I disagree ("Discordo"): records that the code does not apply to the passage, without deleting anyone's coding. It is here next to I agree and on the right-click in Reading, and both screens record the same verdict. Once given, the card says you disagree, with undo. Each group also shows who disagrees ("2 disagree:" and the names), and the consensus badge does not light up while someone disagrees: "2 of 3" no longer hides whether the third person rejected the code or simply did not look.
  • Bulk consolidation (admin): when there are pending groups, Consolidate everything I made (N) and Consolidate everything (N) appear, for the open document or, under (All documents), for the whole project (only the code chosen in the Codes list, if there is one). It is irreversible; the app confirms first.
  • Shortcut through the reader: on the Coding tab, the admin can accept a highlight straight into the reference layer via right-click → "Accept into the reference layer" ("Aceitar no gabarito"), without passing through this screen.

The result becomes the Final layer, used in reports and charts when you choose the reference layer.


9. Reading

This is the screen for re-reading what was coded — in the material or in the scheme — in two modes, under the sub-tabs ▤ Documents ("Documentos") and ✎ Passages ("Trechos"). On Coding you mark; here you read the result. The screen opens in Documents; coming from a click in Charts, it opens straight in the Passages of the clicked code. The View: filter sits on the sub-tab bar and applies to both modes: it filters the document's highlights and the code's passages.

This tab was called Visualização (Visualization) until version 1.4.6. The name changed because "visualization" is what the Charts tab does, and because, with the Documents mode, this one truly became a reading screen.

▤ Documents: reading the material

Reading, Documents sub-tab: on the left, the corpus list grouped by attribute, with each document's passage count; on the right, the whole document with the highlights in the text.
Reading, Documents sub-tab: on the left, the corpus list grouped by attribute, with each document's passage count; on the right, the whole document with the highlights in the text.

Pick a document on the left and read the whole document, with the highlights in the context where they were made. It is the same reading the Interactive Report delivers to whoever evaluates the research, available while you work — and where you answer "what have I already done here?".

  • Hovering a highlight shows the code, who applied it and the start of the analytic note, if there is one; clicking opens a strip below with the code's path, the layer (individual or reference) and the passage's analytic note, plus a shortcut to open that passage in Coding.
  • The highlights checkbox ("grifos") turns them all off at once, to read the clean text.
  • search ("pesquisar") and + are the search from Coding: the magnifying glass searches the document you are reading, and + every document. Clicking a + result opens the document right here, on the occurrence. The search keeps working with the highlights turned off.
  • The code button ("código", the funnel) shows only the highlights of one or more codes — the same code filter as in Coding, and it is one filter for both screens. With it on, each document's number in the list on the left counts only the ticked codes, which answers "in which documents do these codes appear?".
  • The list on the left has the same filter/sort/group as the reader, plus each document's passage count — which also makes it a map of what has not yet been coded. Grouped by a attribute, it works as a first sketch of folders.
  • On opening, Reading shows the document that is open in Coding; picking another one in the list does not change Coding. The code → button ("codificar →") opens in Coding the document you are reading.

There is no coding here: selecting text applies no code. The exception, in a collective project, is giving a verdict on what someone else coded. Right-click a colleague's highlight and the menu offers, for each code at that point:

  • I agree ("Concordo"): the same gesture as in Reconciliation. It records a coding of yours, in the individual layer, on the group's passage.
  • I disagree ("Discordo"): records that the code does not apply to the passage. It deletes nobody's coding and does not enter counts, charts or coding exports: it is a separate record, which travels in the .qualilab.

Once you give a verdict, the menu shows you agree or you disagree, with undo; to change your mind, undo first. If the passage already has a coding of yours, the menu says your coding and offers nothing. The gestures do not appear in individual projects, under blind coding, or for someone who cannot code in this project (the read-only role, or a member without "code" in the role matrix).

To review a whole document, the bar at the top of the reader counts the highlights by other people that still have no verdict of yours ("97 of 113 highlights with your verdict · 16 to go"), and the next pending ↓ button takes you to the next one, with its note already open below. A highlight you agreed or disagreed with fades; pending ones keep their full colour. The count follows View: and the code filter: with the filter on, it counts only the ticked codes. For anything else, use Coding.

✎ Passages: reading the scheme

Reading, Passages sub-tab: on the left, the collapsed attribute filter section and the code tree with each one's count; on the right, every passage of the selected code, grouped by document and with each coding's authorship and layer.
Reading, Passages sub-tab: on the left, the collapsed attribute filter section and the code tree with each one's count; on the right, every passage of the selected code, grouped by document and with each coding's authorship and layer.

Pick a code on the left and read every passage of it across the whole project, in reading typography, grouped by document. This is where you answer "what did I call X?".

Two counts, two questions. In collective research, the same passage usually carries more than one mark: each coder's and the reference layer's. The header pill counts passages (pieces of text, what you see on screen, and the sum of the numbers next to each document); when there is more than one mark on the same piece, the count of codings appears next to it — "2 passages · 6 codings". The second is what the code tree on the left and the Charts use, so do not be surprised if the numbers differ: they answer different questions. Passages with different boundaries (one coder marked a sentence, another marked the sentence plus a bit more) count separately, because they are not the same piece.

Features:

  • Identical passages, a single card: when more than one researcher marks the same passage with the same code, it appears once, with a name chip per researcher below, instead of repeated cards. Each chip carries an × to remove that specific marking.
  • Analytic note (●): a chip with ● signals that the passage has an analytic note; click the ● to read the note right there. (The note is written by right-clicking in the Coding reader, under "Annotate passage (analytic note)", or on the Memos tab.)
  • Open in the document: click the passage's text (or the document's name) to open it in the Documents sub-tab, right here, scrolling to the highlight, which flashes so you can find it — and the whole passage gets a wavy underline showing where it starts and ends, even when other codes split it from within. The underline fades away together with the flash. To go to Coding, click the highlight and use open it in Coding →. With the highlights box unchecked, the document opens at the top.
  • Attribute filter: restricts to documents matching certain attributes.
  • Co-occurrence with: shows only the passages where the selected code overlaps another one (or two more, with and also…).
  • Accept into the reference layer (admin, collective project): consolidates an individual passage straight into the final layer, without going to Reconciliation.

10. Charts

The Charts tab, on the Frequency chart: how many times each code was used. On the left, the attribute filters and "Ignore redaction"; at the top, the other tabs (Cloud, Co-occurrence, Coverage, etc.) and the SVG/PNG export.
The Charts tab, on the Frequency chart: how many times each code was used. On the left, the attribute filters and "Ignore redaction"; at the top, the other tabs (Cloud, Co-occurrence, Coverage, etc.) and the SVG/PNG export.

The Charts tab ("Gráficos") is an explorer: filters on the left, one chart at a time on the right (chosen in the tabs). All charts are drawn in SVG (no libraries) and can be exported as SVG or PNG.

Available tabs

Tab What it shows
Frequency ("Frequência") How many times each code was used
Cloud ("Nuvem") Word cloud of the coded passages (colored by the predominant code)
Co-occurrence ("Co-ocorrência") Matrix of code pairs that overlap
Code × Attribute ("Código × Categoria") A code crossed with an attribute (heatmap)
Coverage ("Cobertura") % of the corpus covered by each code
Time ("Tempo") (if there is a date attribute) distribution over time
Coders ("Codificadores") (collective only) researchers' output and agreement

Filters (left column)

  • By attribute: restricts all charts to the documents that pass ("X of Y documents in the filter").
  • Ignore redaction ("Ignorar censura"): on by default; removes redaction-code passages from the charts.
  • Bar textures ("Texturas nas barras"): overlays hatching on the bars, to tell similar colors apart (useful for color blindness). It applies to the bar tabs and is exported along in the SVG/PNG.
  • Cloud: a tree with checkboxes selects which codes feed the vocabulary (checking a code checks its subtree); below it, the list of ignored words (see further down).
  • Co-occurrence: two selectors choose the X (columns) and Y (rows) axes; empty = the 12 most frequent.

At the top, next to the tabs, are View: and Top: (10/25/50/All; in the Cloud, Words:), which refine the cut.

From the chart to the passages. Click a bar (Frequency, Coverage, Agreement) or a cell (Co-occurrence, Code × Attribute) to open Reading right at that code: the attribute filter and the "Ver:" cut travel along, so the passages shown match the chart's number.

Ignored words in the cloud

The Cloud tab: on the right, the word cloud of the coded passages, sized by frequency and colored by the predominant code; on the left, at the end of the panel, the "Ignored words" section with two words in the list (entrevistad\* and escritório), the field to add others, "clear list" and the "Use the default list (Portuguese)" option.
The Cloud tab: on the right, the word cloud of the coded passages, sized by frequency and colored by the predominant code; on the left, at the end of the panel, the "Ignored words" section with two words in the list (entrevistad\* and escritório), the field to add others, "clear list" and the "Use the default list (Portuguese)" option.

The cloud already discards Portuguese function words (que, para, com...), but in an interview what dominates is usually something else: "interviewee", "researcher", "moderator", the speaker's name. The ignored words list ("palavras ignoradas"), in the left panel of the Cloud tab, solves that:

  • Click a word in the cloud itself to take it out; it becomes an item in the list, and the ✕ next to it returns the word to the count.
  • End with * to catch the variations: entrevistad* covers entrevistado, entrevistada and entrevistados. (The cloud does no lemmatization — it counts forms, not lemmas.)
  • The list belongs to the project: it travels in the .qualilab and, in collective research, applies to the team, like the other method decisions.
  • Use the default list (Portuguese) ("Usar a lista padrão (português)") can be unchecked: a corpus in another language, or an analysis where the function words are precisely the object.

The list changes only what the cloud counts and draws — no coding is altered.


11. Memos

The Memos tab: on the left, the note targets (project memo, documents, codes, annotated passages and the AI sections); on the right, the project memo being edited, with autosave.
The Memos tab: on the left, the note targets (project memo, documents, codes, annotated passages and the AI sections); on the right, the project memo being edited, with autosave.

The Memos tab holds analytic notes — free text you attach to a project target, shared among members and autosaved. If coding organizes the material, the memo is where interpretation happens: it is where you record what a code means, a hypothesis that came up, a doubt to resolve. Memoing early and often is one of the habits that most distinguish good qualitative analysis. The left column navigates by target:

  • Project memo: a general project note (free scratchpad; see the AI note below).
  • Documents: one note per document.
  • Codes: one note per code (its definition, application rule etc.).
  • Annotated passages ("Trechos anotados"): the note anchored to a specific highlight (the section appears when there is one). It is written via right-click on the highlight → "Annotate passage (analytic note)" ("Anotar trecho"), or here in Memos. In collective research it is shared: you can annotate any colleague's highlight you can see (the menu shows whose highlight it is), and the team reads and edits the same note. Under blind coding this does not apply, because you do not see others' highlights, nor their notes. (The annotated highlight gets no mark of its own in the reader, but the note appears when you hover over it and, in Reading ▸ Documents, when you click it; you can also find it again in this section or in the Interactive Report.)

In the Interactive Report (ATI), the passage note is what appears when clicking a highlight, and the code note appears in the legend (as a tree): that is how the two feed active transparency.

AI sections (below the previous ones). Memo for the AI and Saved prompts disappear when AI is turned off in the project; Saved conversations and Project memory always stay, because they are a record of what happened.

  • Memo for the AI ("Memo para a IA"): the project context written for the AI, injected into prompts by default. It is different from the ordinary Project memo, which is no longer sent automatically to the AI (it became a free scratchpad): if you want the AI to take the research goal into account, write it here.
  • Saved prompts ("Prompts salvos"): your prompt library (the ones you save on the Analyze with AI screen): open, rename or delete each one.
  • Saved conversations ("Conversas salvas"): each Analyze with AI conversation you kept, opened in full on click.
  • Project memory ("Memória do projeto"), the AI's insights journal: short memories (facts/decisions) that enter the context across sessions; you add them by hand or approve the ones the AI suggests, and toggle which ones to use.

With blind coding or document distribution on (see Collaboration), Saved conversations and Project memory are isolated: each person sees only their own and the reference layer’s, and only those memories go into their analyses. The administrator sees them all, to review them, and on each conversation or memory has Consolidate into the reference layer: from then on it holds for the team (it shows as team (reference layer)) and also goes into the others’ analyses; Return to individual undoes it. Only the administrator deletes or switches on/off what is in the reference layer. Even for the administrator, a member’s individual memory goes into analyses only once consolidated. All of this is enforced by the server.

11.1. Project history (the audit trail)

The last entry in the column, outside the AI sections, is the Project history ("Histórico do projeto"): the audit trail of the process. It is a list of sentences, newest first, with what changed the project, each with date and author: file imports and merges, code merges and splits, deletions (document, code, attribute, clear content), text edits with highlight re-anchoring, bulk applications (Repeat Coding and the AI screens), Reconciliation consolidations, changes of project type and settings, creating and restoring mirrors, renaming the project, members joining, leaving and changing role (in the cloud) and exports. There is a filter by operation and a text search: type a code's name to see what has already happened to it. Export CSV downloads the whole list (readable sentence + detail as JSON).

What the history does not do, written at the top of the screen: it does not undo anything (it is a record, not a time machine; Ctrl+Z still undoes only the last coding), it does not keep the content of what was deleted (only names and counts: no passage of the corpus travels in it) and it does not record reading or navigation. Coding applied one by one does not enter either: it is already recorded in the coding itself, with author and date.

It travels in the .qualilab and survives "Clear content"; re-importing the same file does not duplicate it. In the cloud it is append-only (nobody edits or deletes a line through the API, not even the administrator) and it follows the visibility of codings: under blind coding, each researcher sees their own events and the team events, and the administrator sees everything. The history starts at the first event recorded after version 1.4.51; the first line says that what came before was not recorded. Its summary goes into the Report.


12. Report

The Report tab: in the left column, the three outputs (Interactive Report/ATI, Standard Report and Web Annotation/W3C) and the authorship-hiding option; on the right, the live preview of the interactive report.
The Report tab: in the left column, the three outputs (Interactive Report/ATI, Standard Report and Web Annotation/W3C) and the authorship-hiding option; on the right, the live preview of the interactive report.

The Report tab ("Relatório") is the publication hub. In the left column you choose among three outputs. In a collective project, the Standard Report follows the View: cut chosen in the panel; the Interactive Report (ATI) and W3C use the reference layer when it exists and, without one, the individual layers. In all of them, redacted passages come out masked. The transparency outputs (ATI and W3C) additionally offer Hide authorship (blind review), which omits the coders' names — useful for publishing without exposing the team. Careful: that does not anonymize the documents' content. See Sensitive data and responsibility.

12.1. Interactive Report (ATI)

A self-contained HTML page (no server): each document appears with its highlighted passages clickable. Clicking a highlight opens, in a side panel, that passage's note (the per-passage analytic note of section 11); a passage without its own note shows "no note", and the code's definition sits in the legend. Document titles and the legend's codes open, in the same panel, the document memo and the code memo. The code legend comes as a tree (same hierarchy as the Scheme), collapsible and filterable, to scale to large projects; documents come collapsed. It is the equivalent of the QDR's Annotation for Transparent Inquiry (ATI) overlay, but hostable by you (e.g. GitHub Pages, Dataverse as an attachment).

12.2. Standard Report

A builder: check sections in the left column and the text assembles live. Sections: summary, document list, scheme counts and lists, code frequency, distribution by attribute, passages by code, unused codes. Then:

  • Copy text: plain text ready to paste into Word/Google Docs.
  • Print / PDF: opens the browser's print dialog (forcing dark ink on white, even if the app is in dark theme).
  • An option to credit QualiLab in the summary.

12.3. Web Annotation (W3C)

Exports the annotations in the open W3C Web Annotation Data Model standard (JSON-LD): each passage becomes an annotation with a position/quote selector + analytic note. It is the common "data language" of ATI, hypothes.is, Anno-REP and Dataverse, interoperable without marrying any tool.

12.4. Before publishing: work in the lab, publish from a copy

This is the recommended workflow, and it solves a problem no tool solves on its own.

The problem. Redaction protects what you marked inside the text. It does not touch three things that travel in every output, the Interactive Report and W3C included:

  • the document title (it is what appears as each document's header in the interactive report);
  • the attribute values (position, city, firm, agency);
  • the memos (it is common to note "the interviewee from Such & Such said that...").

In a real test case, the document body came out with the firm's name masked while the title said, in large letters, "ENT-01 — Dr. Jane Doe, founding partner (Such, Such & Associates, São Paulo)". The mask was perfect — and useless.

The workflow. Keep two projects:

  1. the laboratory, where you work with the material as it is (real names in the titles, everything at hand so you can find your way);
  2. the publication copy, which is what goes out.

To create the copy: export ▾ → .qualilab, then create a new project (in the cloud: switch project → Create a project; in file mode: project pill → Close this file → New file) and import ▾ → .qualilab into it. Now clean the copy:

  • rename the documents to labels without identification (ENT-01, GF-02): the key linking label to person stays outside QualiLab, with you;
  • review the attribute values: swap "Such, Such & Associates" for "large firm", or whatever your research design requires;
  • re-read the memos, which is where proper names appear without anyone noticing;
  • check the redaction in the body (see below why it tends to be incomplete).

Then export from the Report tab. The ATI and W3C previews are live: what you see there is exactly what goes out, so use them as a final check.

Why a copy and not a "publication mode" inside the app. A deliberate decision. Such a mode would store, for every title, value and memo, a real version and a publishable version, and you would export a transformation you cannot see. Worse: the mapping between the two versions would itself become the most sensitive data in the project. With the copy, what is on screen is what goes out. It is more trustworthy precisely because it is more manual.

The cheapest way is prevention. Naming documents ENT-01 from the start saves all this cleanup, because there is no bulk rename: in the copy, titles are fixed one by one. Nine documents are two minutes; three hundred are not.

One sentence to take with you: QualiLab does not anonymize. It masks what you marked, in the transparency outputs and in what goes to the AI. The rest is your methodological decision, taken in the publication copy.

12.5. AI use statement

In the left panel there is the "Include information about AI use" checkbox, on by default (it applies to all three outputs). With it checked, the three outputs — Standard Report, Interactive Report and Web Annotation — carry a short block with what your project records.

It reports, it does not promise, and that is not wordsmithing: a sentence like "this project declares not using AI since such date" presupposes there was use before, which is false in the most common case — the project born without AI. The block says two things, and keeps them separate:

  • whether the AI features were available in this project (and, when they are restricted now, to whom);
  • how many AI conversations and memories are recorded.

Those are different facts. A project that enabled AI and never used it shows as having had the features available, with no recorded conversations — not as having used them. And a project that never enabled it says exactly that, with no date and no promise.

The block also carries its own limit: it describes what went through QualiLab, and is no technical guarantee that nothing was taken to another tool on the side.

Unchecking the box, the block simply does not go out, and the app does not insist. Worth knowing: if you used AI and do not declare it, that is your choice about how to report your research — the tool offers the honest path as the default and polices no one.

To turn AI off in the project (and not merely declare it), see 17.7.

12.6. Process history

Next to the AI checkbox there is "Include the process history", also on by default. With it checked, the three outputs carry a summary of what the project history records: how many operations, since when and of which kind (imports, code merges and splits, deletions, text edits, bulk applications and how many of them by AI, consolidations, settings changes, exports). It is the block a reviewer or a committee reads to learn how the project reached the published state.

Like the AI block, it reports and carries its own limit: it says that it records operations done through QualiLab, not reading or navigation, and that it does not keep the content of what was deleted. Unchecking the box, the block does not go out.

12.7. Study design

When the project declares that attributes are study-design metadata (see blind coding), the three outputs gain a "Study design" block saying so: that the attributes' reference values stayed visible to members even under blind coding, that the codings' reference layer stayed hidden, and whether blind coding is on or off at the moment of the report. This block has no box to turn it off, on purpose: a study that ran blind with the attributes' reference values in view has to say so, otherwise the methods section claims a cleaner design than the one executed. With the switch off, the block simply does not exist.


13. Collaboration

(Collective project, cloud mode.) Your group has no cloud yet? Start with 2.4.

Inviting people

Open the project pill (header) → there is the access code. Share it; whoever receives it joins via "My projects" → Join with a code ("Entrar com código"). In cloud mode, the code also shows in the pill itself (nuvem · Project · CODE · coletivo ▾). Whoever joins with the access code always joins as a member.

Role-locked invite

(Admin only, cloud mode.) When the person should join with a different role — a co-supervisor as admin, a reviewer as read-only — use the Role-locked invite card, just below the access code. Pick the role, click Generate invite and share the code that appears: whoever joins with it already gets that role, with nothing for you to adjust afterward.

  • Email (optional): fill it in and the invite is locked to that person — only someone joining with that email address can use the code. Anyone else gets the usual "invalid code" message, which is deliberate: the app never reveals who an invite is meant for.
  • When you pick the role, the card shows what whoever joins with it will be able to do in this project: the same list that goes in the email, generated from the role matrix.
  • QualiLab sends no email at all. Delivery is yours: copy the code and send it through whatever channel you like, or, if the invite has an email, click open email — that only composes the message (with the code and the role already written) and opens your own outbox, in your own mail program. Nothing goes through the server. The copy link ("copiar link") button gives you a link that already carries the code; on a private cloud it carries the server too, and whoever opens it only checks and confirms.
  • Invites are single-use by default; tick reusable to let the same code serve several people (useful for a whole class joining with the same role).
  • Invites are listed in the card, with the role, the recipient and how many times they have been used. Revoke (🗑) invalidates the code for anyone who has not joined yet.

Managing members and the project

Still in the project pill, the admin can: see the member list and change roles (admin, member or read-only; the project is never left without an admin), rename, clear content, delete the project, change its type and adjust the connection (Supabase credentials).

What each role can do (decided at creation)

(Collective project in the cloud.) When creating a collective project, the form asks for the study type and shows a two-part matrix. Roles: what someone joining as read-only and as member can do (comment, code and answer attributes, add documents, create and edit codes, edit definitions, use the AI panels), ticked = can; admins do everything. Study design: the decisions with a name of their own, blind coding, restrictive assignment and attributes as study-design metadata, ticked = on. The four study types (open team, inter-coder reliability, split the corpus, panel of judges) only fill the matrix in one go; it stays editable and shows what the type did. What belongs to admins by construction (scheme, reference layer, deletions, imports, team, mirrors) is folded below, so you can see what is not at stake.

Why at creation: what someone has already seen cannot be unseen. A project born open that only later turns blind coding on has already contaminated whoever joined before. With the matrix decided up front, the invite already carries the rules in force, and the invite e-mail lists what that role will be able to do, generated from the matrix itself. The server enforces every line (not the screen): a member without "code" gets a refusal from the database, not just a hidden button. It can be changed later, in the project hub (Assignment and secrecy → Assign documents… → How this project controls access); the change enters the project history. Left untouched, behaviour is as always: members do everything, read-only participants read and comment.

Unticking Edits code definitions for both roles locks the definitions: only the administration edits the codes' definitions (reading stays open), the hub shows the definitions locked pill, and turning it on or off enters the history. The Uses the AI panels line is disabled when the project's AI is turned off or restricted to the administration.

Assigning documents and blind coding

(Admin only, collective cloud project.) In the project hub, the Assignment and secrecy → Assign documents… card ("Distribuição e sigilo → Distribuir documentos…") opens a documents × researchers matrix, where you mark who codes what. A C badge shows who has already coded each document; the automatic rotation button assigns everything at once (1 or more people per document). On its own, the matrix is just a work plan: it becomes a rule when you tick, in the Study design part of the access matrix at the top of the same dialog, one of the two decisions (independent of each other):

  • Restrictive assignment ("Distribuição restritiva"): each researcher only sees the documents assigned to them. It serves to divide the corpus (each person minds their share, nobody codes in duplicate). A document assigned to no one stays with the administrators only; switched off, everyone sees the whole corpus.
  • Blind coding (true blind) ("Codificação cega"): each researcher only sees their own codings and answers. For inter-coder reliability, assign the same document to two people (it becomes double-blind). While it is on, the reference layer is also hidden from members (revealing it midway contaminates); turn it off to reconcile together. Administrators keep seeing everything.
    • Redaction marks are the exception: under blind coding, every member receives the redaction marks of the documents they see, even those made by someone else, so that sensitive text leaves masked in the AI and in the transparency artifacts. They show where there is redaction and who marked it, and reveal nobody's codings or notes.
    • Attributes as study-design metadata (third line of Study design; only available with blind coding on): turn it on when the attributes of your study describe the material (platform, sampled profile, topic, service line) and are not a coder's answer. With it on, the attributes' reference values stay visible to members even under blind coding; without it, a blind coder opens the document with every attribute blank and no way of knowing what material it is. Only attributes change: the reference layer of passage codings, and the analytical note of whoever coded, stay hidden under blind coding, always. Think before turning it on (knowing which platform a passage came from can bias the reading) and know that the Report will declare this choice.

Both rules are enforced by the server, not merely hidden on screen: the member cannot reach through the API what is hidden (not the passage's text, not the PDF, not the analytic note written on a passage they cannot see). For a member in a blind project, the "Ver:" filter and the Reconciliation tab disappear. Assignment changes show up on reload (not in real time). It is a collective-cloud-only feature (it depends on multiple researcher accounts) and does not travel in the .qualilab.

AI conversations and memories follow the same logic: under either rule, each member sees only their own and the reference layer’s (see Memos).

Send to the cloud

If the active project is a draft or a file, the pill shows "Send to the cloud" ("Enviar para a nuvem"): it creates a new cloud project and copies everything (documents, attributes, codes, codings, memos) at once, with no manual .qualilab export/import. The form asks for the project type and, if it is collective, shows the same role matrix. The original PDFs are only uploaded if you tick Also upload the original PDFs.

Real time (and its limits)

Codings and attribute answers sync live among collaborators. Changes to the attribute scheme or the code tree, though, only appear to others on a page reload.


14. My account

My account: the display name, the interface language and the "AI: your key and model" card (BYOK), with the provider choice (OpenRouter among them), the API key field and the model.
My account: the display name, the interface language and the "AI: your key and model" card (BYOK), with the provider choice (OpenRouter among them), the API key field and the model.

Click your name in the header to open My account ("Minha conta"; it works in every mode: cloud, draft and file):

  • Change your display name (used in codings).
  • Change your password (accounts with e-mail only; hidden in draft/file modes).
  • See all your projects in one place, with direct actions: open, rename (admin), leave or delete (admin).
  • Configure your AI key/model (BYOK), including local Ollama (see section 17).
  • Choose the interface language: automatic (from the browser), Portuguese, English or Spanish (see below).
  • Sign out (cloud mode only). If an AI key is stored in this browser, the app asks whether to delete it too: the key lives in the browser, not in the account, and on a shared computer whoever comes next could use it, with the cost on your provider account. Deleting removes only the key; provider and model stay, so next time pasting the key again is enough.

Interface language

QualiLab exists in Portuguese, English and Spanish. It uses the first supported language in your browser preferences, or English when none is supported. You do not have to configure anything: the picker in My account is there for choosing otherwise, or going back to automatic. Switching reloads the page.

Four things worth knowing:

  • The English and Spanish versions were translated with AI. The interface says so in My account, under the picker, and in the footer of the start screen; when in doubt, the Portuguese version is the reference.
  • The choice is yours and stays in this browser. It does not travel with the project: two researchers on the same team can read the same project in different languages.
  • Numbers and dates follow the language (in English, 1.234 shows as 1,234).
  • What you wrote does not change language, and that is deliberate: document, code and attribute names, the values you filled in and your memos are research material and come out exactly as you wrote them. The Yes/No, Not informed and Other answers get a translated label on screen without changing what is stored — so an answer filled in in Portuguese and one filled in in English remain the same answer when coders are compared.

Two exceptions, both deliberate: the requests QualiLab makes to the AI stay in Portuguese (and so do its answers), and the redacted-passage marker stays in Portuguese inside exported files, so that the same file does not change content depending on the browser of whoever generated it. The transparency appendix, on the other hand, follows the interface: if you work in English, you hand in an English appendix.

My account is how you reach the AI configuration in any mode, offline included, to point at local Ollama.

Forgot your password? You do not need to be logged in: use Forgot my password ("Esqueci minha senha") on the access screen (see section 18). The account's e-mail, though, cannot be changed in the app.


15. Import and export

The menus sit in the header. export ▾ ("exportar ▾") appears when there are documents; import ▾ ("importar ▾") always appears (except for the read-only role), and the two spreadsheet items that work on existing documents only appear when there are already documents.

Export (the "exportar ▾" menu)

Item What it is
.qualilab (full project, native) Everything (documents and original PDFs, attributes, values, codes, codings, memos, links, disagreements, AI conversations and memories, and the project history) to reopen in QualiLab. It is the project's complete backup
JSON (project) Documents, attributes and values, codes and codings (with layer, author and page), in a script-readable JSON. It does not carry memos, AI, history or links: for backup, use the .qualilab
CSV (coded passages) One passage per row (document, code, layer, author)
CSV (attributes per document) One document per row, with the attribute values. It has a way back: fill it in the spreadsheet and re-import, see below
QDPX (ATLAS.ti / MAXQDA / NVivo) The REFI-QDA standard; when exporting you choose which codings to take (see below)
QDC (REFI-QDA codebook) The codebook only

What happens to attributes in QDPX. The REFI-QDA standard stores one value per document per attribute, with no author and no rich type. In practice: the reference layer travels (each researcher's individual answers stay only in the .qualilab); Number, Yes/No and Date leave typed (Integer/Float, Boolean, Date) and arrive sortable on the other side — but only when all of that attribute's values fit the type: a single "Não informado", or a date missing the day, makes the whole attribute leave as text, because a package with a value outside its type is rejected wholesale by strict importers. The other types leave as text, with the real type in a description only QualiLab itself reads back; and a Checkbox with several values travels as a single text ("a | b"), because neither MAXQDA nor NVivo has a multi-valued attribute. None of this is lost in the .qualilab, which is the only lossless format.

Passages with more than one code in QDPX. When you apply two codes to the same passage, the QDPX carries one quotation with both codes — which is how the other tools represent it — and not two identical overlapping quotations. The passage's analytic note travels along and comes back whole on import. The grouping is conservative on purpose in two cases, and in both the quotation stays repeated: when the passage was coded by different people (the other tool reads the coder from the quotation, and merging would swap authorship) and when two codes on the same passage each have their own note (only one note fits per quotation). With the Everything together, no author option (below) there is no authorship to preserve, and the repetitions merge.

Which codings go into the QDPX. The standard has no layers: there is no way to mark, inside the file, what is the reference layer and what belongs to each person. So when the project has both layers, or codings from more than one person, QualiLab asks at export time. Reference layer only takes the team's consensus, and each passage reaches the other tool under the name of whoever consolidated it, as if it were that person's coding. Each person's codings go under the name of whoever coded them, which is what QualCoder, NVivo and MAXQDA use to compare coders; the reference layer stays behind. Everything together, no author puts the reference layer and the individual codings into a single layer, one coding per passage and code: it suits ATLAS.ti, which credits everything to whoever imports it and would otherwise show one repeated quotation per person who applied the same code. No passage note is lost: a passage with different notes goes out once per note.

Before generating the QDPX, the same window says how many codings each option takes and how many coded documents would arrive empty, which is what "reference layer only" does to a project where Reconciliation has not yet gone through every document. It also lists what does not fit the format, each item only when the project has it (answers from more than one person, Checkbox attributes, the history, the links' evidence passages and the disagreements). The links between codes and attributes travel as <Link>.

All the items above leave complete, with nothing masked, the passages flagged as redaction included. They are work and migration formats: whoever exports is taking their own material to another tool, and masking there would be irreversible loss. The transparency outputs (Interactive Report / W3C) live on the Report tab, not in this menu — and those do mask. Before sending anything outside the team, see 12.4.

Import (the "importar ▾" menu)

Item What it brings
.qualilab Merges an exported project. Into a collective destination, it preserves each source researcher's answers; the reference layer becomes the reference layer. The project history that comes in the file enters without duplicates (re-importing does not repeat it)
QDPX A REFI-QDA project from other tools. The attribute type the source declares (number, Yes/No, date) is respected; what it declares only as text is inferred (review it in the scheme). Attribute values enter through both forms the standard admits (written on the document itself, or in a "case" pointing to it), and if some attribute arrives with no value at all the summary says which. Includes hardened import of ATLAS.ti .qdpx files with PDFs, and reads the links (<Link>) of ATLAS.ti projects
.sqlite3 (Taguette) Taguette's native project: documents, tags (hierarchy by / or .) and passages. No attributes and no per-passage author
.qdc (REFI-QDA codebook) The codebook only
spreadsheet (.csv / .xlsx → documents + attributes) Each row becomes a document, see below
spreadsheet (.csv / .xlsx → update attributes) Fills in attributes of documents that already exist, matching by name. Creates no document, see below
spreadsheet (.csv / .xlsx → code passages) Codes passages in documents that already exist: each column becomes a code and each cell is the excerpt to locate in the text. Creates no document, see below
Zotero folder (Zotero RDF) Each reference with a PDF becomes a document; the metadata become attributes and the reference becomes a memo, see below

In a collective cloud project, importing is an administrator action (an import creates shared data and can write the reference layer). In a draft, a file or an individual project, any user imports.

When importing a .qualilab from a collective project into a draft or an individual project, the two layers merge into one, and the rule is per passage: each coder of the individual layer remains a coding of their own (three people marking the same passage are still three, each with their own note), and the reference layer only enters passages that have no individual coding at all. The import summary counts what was saved and says how many codings from the file merged under that rule.

If the .qualilab carries AI memories, the app shows them and asks whether to import them before writing anything, because they go into the AI analyses as if you had recorded them. Import without the memories brings everything else, and the summary says how many stayed out; Cancel the import writes nothing. The question does not appear for the example corpus, when restoring a mirror, nor when sending your own project to the cloud.

Importing a Zotero collection (step by step)

  1. In Zotero: right-click the collection → Export collection… → format Zotero RDF, with Export files checked. It creates a folder (an .rdf plus a files/ subfolder).
  2. In QualiLab: import ▾ → Zotero folder ("pasta do Zotero") and pick the whole folder (not the .rdf alone: without the files there is no text to code).
  3. The mapping screen shows how many references have a PDF and lets you decide three things:
    • which metadata become attributes. Item type, year, authors, publication and keywords come checked; language, DOI, URL and pages come unchecked. You change each one's type or leave it out, and only fields some reference filled in are shown;
    • the document's name: "Author (year) · title" or just the title. Since the document list is sorted by name, the first form leaves the corpus in bibliography order;
    • whether the original PDF is kept (it is what enables "view original", the page number on passages, and OCR).
  4. Before confirming, open "What will not come in" ("O que não vai entrar"): there, by name, are the references without a PDF, the ones whose attachment is a saved web page instead of a PDF, and the ones whose file is not in the folder.
  • The text comes out of the PDF the same way as in + add ▾, so everything that depends on the PDF works the same. A PDF without a text layer (scanned) enters empty on purpose: open the document and use ⋯ → OCR: read scanned pages (available if you kept the original PDF).
  • The full reference, the abstract and the notes you wrote in Zotero go to the document's memo (Memos tab), not to a attribute: they are your text about the source, and an abstract in a attribute field is unreadable.
  • The year becomes a Date attribute, so the Time tab of the Charts starts working. When the reference's date is ambiguous (11/13/2014 could be November 13 or December 11), QualiLab keeps only the year instead of guessing the day.
  • No codes or coded passages come in: a reference library has none, and the markings made in Zotero's PDF reader do not leave in its export.

Importing a spreadsheet (step by step)

  1. import ▾ → spreadsheet (.csv / .xlsx → documents + attributes) and pick the file.
  2. In the mapping dialog, choose each column's role: (ignore), Text (the document's content), Document name, Document memo, or Attribute · .
  3. It is mandatory to mark exactly one column as Text.
  4. For closed attributes, the options are deduced from the observed values. Confirm with Import.
  • Rows with no text in the content column are skipped (the summary says how many). The .csv detects the separator (,/;/tab); Excel imports the first sheet.

Columns that become memos. The "Notes", "Opinion" or "Case summary" column is neither data nor an attribute: it is what you wrote about that row, and long text in a attribute field is unreadable. Mark it as Document memo and it goes to the Memos tab. You can mark several: the memo is then stitched, one block per column, in the order they appear in the spreadsheet. Each block is identified by the column's header (in a spreadsheet, the header is the only thing that says what that text is) — you can turn that off with a checkbox, and the dialog shows a preview of the result before importing. An empty cell does not become an empty block, and a row with none of those columns filled gets no memo.

Filling attributes in a spreadsheet and bringing them back (step by step)

Answering the same attribute across 200 documents is where the screen works against you: in a spreadsheet, it is dragging a column. This path is the way back for the attributes CSV — the outbound file is the same as the inbound one, there is no new format.

  1. export ▾ → CSV (attributes per document). You get one row per document, one column per attribute.
  2. Open it in Excel (or LibreOffice) and fill in the cells. Do not touch the documento column: it is how each row finds its document again.
  3. import ▾ → spreadsheet (.csv / .xlsx → update attributes) and pick the file.
  4. The screen shows what will change before writing: how many answers will be filled in, how many changed (with the current value next to the new one), how many are already the same, and which rows matched no document. Confirm with Apply ("Aplicar").

What it does and does not do:

  • No document is created, renamed or deleted. To create documents from a spreadsheet, use the other menu item.
  • Each row matches the document of the same name (accents, case and extra spaces do not get in the way). A name that does not exist in the project, or that matches two documents, is skipped and listed: QualiLab does not choose for you. If you renamed documents after exporting, export again.
  • A blank cell erases nothing, because the exported file already comes blank wherever nothing was filled. To empty answers on purpose, check "A blank cell erases the answer" ("Célula em branco apaga a resposta").
  • A value that does not yet exist in a closed attribute is added to its options, and the screen says which ones before applying — that is where you catch a typo about to become a new option.
  • A column matching no attribute is born ignored (the case of n_trechos, which is computed). Any column can become a new attribute, by choosing its type.
  • Dates: 04/07/2013, 2013-07-04, 07/2013 and 2013 (year only) are all valid. What cannot be understood is refused and reported, never guessed.
  • In a collective project, you choose whether you are filling the team's reference layer (administrator) or your own answer.

Coding passages in a spreadsheet and bringing them into the project (step by step)

A lot of research starts in a wide spreadsheet: one row per document (a law, a ruling, an interview) and one column per theme, with the excerpt copied into the cell. That spreadsheet is already a coding — just outside QualiLab. This path brings it in without you having to dismantle it into a "one row per passage" list.

  1. import ▾ → spreadsheet (.csv / .xlsx → code passages) and pick the file.
  2. The Import passages from a spreadsheet screen shows one row per column, with content samples. For each one, choose the role:
    • Document name (match) — the column that says which document the row belongs to. QualiLab guesses the one that matches the most existing names;
    • Code · name — the column is a theme, and each of its cells is an excerpt from that document;
    • Create a new code (uses the column's header) — for a theme that does not yet exist in the project;
    • (ignore) — how every column is born, except the document-name one.
  3. The preview answers what will happen before writing: how many rows matched a document, how many passages will be coded, which codes will be created, which passages were not found and which rows have no matching document. The list shows, passage by passage, the document, the code and the quotation that will be marked.
  4. Confirm with Import.

What it does and does not do:

  • No document is created. Each row must point to a document that already exists, matched by name (accents, case and extra spaces do not get in the way). A name that does not exist, or that matches two documents, is skipped and listed with the reason. To create documents from a spreadsheet, use the first menu item.
  • The passage is searched for inside the document's text, and the coding is anchored at the right spot — it is not a loose quotation stored on the side. It is the same mechanism that brings the passages of a .qdpx and what the AI suggests.
  • What does not match the text stays out, and is said. A summary you wrote instead of the literal quotation, or an OCR error in the document, is not shoehorned into an approximate spot: it shows on the not-found list, with the row and the column, and the rest of the spreadsheet enters normally. When the location was approximate (common in OCR'd PDFs), the passage comes marked with ≈ in the preview — worth checking those before trusting them.
  • An empty cell does nothing, and a passage under three characters is refused.
  • Re-importing the same spreadsheet does not duplicate. What is compared is the pair document + code + place in the text: if that passage is already coded with that code there, it is skipped. So you can add rows to the spreadsheet and import again. This also holds within the same import, if two columns point to the same excerpt and the same code.
  • A passage can receive more than one code (two columns with the same excerpt and different codes), and a document receives as many passages as the spreadsheet holds: unlike a attribute, which is one answer per document, coding accumulates.
  • Redaction codes are not offered in the column list: redaction is marked in the reader, looking at the text.
  • In a collective project, you choose whether you are writing to the team's reference layer (administrator) or to your own layer.

Why the spreadsheet does not need to change shape. A "one law per row, one column per theme" spreadsheet already contains the same information QualiLab stores as a document and passages; all that is missing is saying which column is which. Doing that in the mapping avoids the manual work of transforming the spreadsheet before importing, which is where excerpts tend to get lost or misaligned from the document they belong to.

After importing from another tool, it is worth reviewing the attribute scheme (the types may have been inferred).


16. Saving, backup and storage modes

The project hub, opened from the header pill and scrolled to the bottom: management (rename, clear content, delete project) and the storage options: automatic folder backup, save as a .qualilab file, send to the cloud and the connection (Supabase). Further up are the project type, the AI features and the mirrors.
The project hub, opened from the header pill and scrolled to the bottom: management (rename, clear content, delete project) and the storage options: automatic folder backup, save as a .qualilab file, send to the cloud and the connection (Supabase). Further up are the project type, the AI features and the mirrors.

QualiLab saves by itself on every action. Where it saves depends on the mode:

Mode Where it lives Indicator When to use
Local file A .qualilab on disk arquivo · Sensitive data, offline, no network
Draft The browser's localStorage rascunho · Quick trials only (ephemeral)
Cloud Supabase nuvem · Teams, several devices

Install as an app (and open without internet)

Recommendation: on Windows, install through Edge. Installing through Chrome works, but the .qualilab file icons come out broken (the Explorer's generic blank sheet) — a Chrome-on-Windows limitation, not QualiLab's. Edge registers the full type, with its own name and icon. The why and the step by step are just below.

What this is. QualiLab can be installed as an application, with no store, no installer and nothing to download beyond what the browser already has: the browser itself keeps the site as a program (the technology is called PWA, Progressive Web App). It is exactly the same QualiLab at the same address, with the same data; what changes is how the computer treats it: it gets its own window (no address bar or tabs), an icon in the start menu/dock, and shows in the taskbar like any other program — instead of living as a tab lost among thirty.

Why installing is worth it:

  • It opens without internet. Installed, QualiLab opens even offline — including if you never visited the address again (the copy is stored at install time). With internet, it always fetches the current version. The PDF, Word, spreadsheet and OCR libraries are also kept after each one's first use.
  • Double-clicking a .qualilab opens it in QualiLab: the file manager starts offering it as the program for the format, like a .docx opens in Word.
  • Local data becomes better protected. For local projects with content, the app asks the browser for persistent storage — without it, the browser may clear the draft and the stored PDFs under disk pressure, without asking.
  • You do not freeze on an old version. The installed app keeps updating itself; when there is a new version, the status bar says so (nova versão disponível · recarregar) and one click updates, losing nothing saved.
  • Uninstalling is one click (in the app window's ⋯ menu), and it does not delete your .qualilab files.

How to install — and, on Windows, prefer Edge. The shortest path is the "Instalar o QualiLab" (Install QualiLab) banner on the entry screen: one click on it opens the browser's install dialog. (It only appears when installing is actually possible — it is absent in Firefox and Safari, which do not install, and it goes away after you install.) The usual path still works: open the QualiLab address and look for "Install QualiLab" in the address bar (the install icon, at the right of the URL; in Edge, also under ⋯ → Apps → Install this site as an app). The reason for Edge is concrete: it registers QualiLab with the system as a complete application, and the .qualilab file gets its own type name and icon in Explorer. Installing through Chrome everything works, but the .qualilab keeps the generic blank-sheet icon (a limitation of Chrome on Windows, not of QualiLab). On macOS this icon problem should not occur. If you use Chrome day to day: just open the same address in Edge once, install from there, and keep using Chrome for everything else — the installed app is independent of the browser you browse with.

Installing does not change where the data lives: the modes in the table above still apply, and file mode stays 100% on your disk. It is also not mandatory — everything in this manual works the same in a browser tab.

Data sensitivity: what is safe to enable

Before choosing the mode, decide how much of the tool you can use according to the material's sensitivity. It is not a neutral choice. First, where the material goes on each path:

  • File / Draft: it stays on your device and does not leave it.
  • Cloud: it goes to a third-party server (Supabase) to sync across people and devices. It leaves your direct control and becomes subject to the provider's terms.
  • Cloud AI: the passages you analyze go to the AI provider you use, except what is flagged as redaction, masked before sending (section 17).
  • Publication: what you publish (ATI report / W3C annotations) becomes public. Redaction is masked by default, but check before.

Use the matrix to decide (the safe-by-default rule: when in doubt, treat it as more sensitive):

Level Example Cloud (Supabase) Remote AI (provider) Local AI Publish (ATI/W3C)
Public / synthetic Public rulings, already-open data, synthetic examples OK OK (any provider) OK OK
Sensitive but transferable Interviews without a formal restriction; data you would rather protect OK, knowingly Prefer your own key (paid/institutional) and check what goes out and the redaction Preferable Case by case, with the redaction checked
Restricted An ethics board that forbids it leaving, identifiable health data, sealed court records No No — turn AI off for that analysis Only if truly local (offline + model on the machine) No

There is an honest limit: total privacy and the full feature set do not coexist in a tool that runs in the browser. Restricted data pushes you into the offline/file corner, and that same corner is where local AI lives (Ollama on your machine). It is a real constraint, not a footnote.

What redaction and anonymization do not do. QualiLab does not detect or mask personal data in the content of documents (names, ID numbers, health data). Two things look like "anonymization" but are not: redaction masks only the passages you marked (it does not sweep the text for what is sensitive); the anonymize option of the transparency exports merely omits authorship. In other words, trusting redaction is trusting that you marked, by hand, every identifiable detail before every send — and perfect discipline is not a security control. Anonymizing, obtaining consent and choosing the appropriate mode is your responsibility. Two concrete helps: the Repeat Coding tab (5.5) finds the other identical occurrences of a term you already redacted, and the publication project workflow (12.4) takes care of titles, attribute values and memos, which redaction does not reach.

File mode (Chrome/Edge)

The project is a .qualilab file visible in the file system (any folder, external drive, encrypted volume). Zero network, zero localStorage, 100% offline. Start on the entry screen, under New file or Open an existing file (or, signed in to the cloud, under My projects → New file… / Open a file…). The app reopens the last file on the next session (with the browser's permission).

Cloud mode (Supabase): what it is, and how the data is protected (or not)

The cloud keeps your project in an online database so it syncs across people and devices. That database runs on Supabase, a third-party infrastructure service (database + login) widely used by applications. QualiLab has no server of its own; it merely talks to a Supabase project.

The question that matters most is whose Supabase it is:

  • QualiLab's public cloud, the default server (what you use when clicking Connect to the public cloud (deprecated)), which will be shut down on 31/12/2026 (how to move a project out of it): the data goes to the author's Supabase. He keeps the service running and, owning the database, can technically access the content. It is convenient, but it means trusting your data to a personal project, with no institutional guarantee (re-read the Legal notice in section 0). The author does not want to be in that position with sensitive data — hence the recommendation at the end of this section.
  • A private cloud, your own Supabase (the project pill turns violet, "nuvem pessoal"): you point the app at a Supabase project of yours (creating one is free). The database becomes yours; only you and whoever you authorize hold the keys. It is still hosted by the Supabase company, but the data's owner is you. Create one on the entry screen, under Create my cloud (step by step in 2.4), or connect to an existing one under With my group → Sign in → Connect by address and key (on the public cloud's login, Connect to a private cloud); outside cloud mode, also in the project hub, under Connection (Supabase).

What protects your data in the cloud:

  • Login (e-mail and password, or a Google account, via Supabase Auth): only account holders get in.
  • Isolation between users (the so-called Row Level Security): the database rules guarantee each person only sees the projects they are a member of. A colleague does not see your other projects, and whoever was not invited sees nothing.
  • Encrypted transit (HTTPS) and encryption at rest on Supabase's disk — the standard of any serious cloud service.

What the cloud does NOT do:

  • It is not end-to-end encryption. The data stays readable by whoever administers the database: on the default server, that includes the author; on your Supabase, it includes you; and, in both cases, the Supabase company as host. The isolation above protects you from other users, not from the database's owner.
  • Deleting the project is final (download a .qualilab first). Before deleting a document, code or attribute, or clearing the content, QualiLab keeps an automatic mirror, if the switch is on.
  • It does not replace offline mode. Since v1.4.7, what you write without a connection is stored and uploads by itself (see the box below), but reading still requires a network: with no connection, opening a not-yet-loaded document or switching projects does not work. To truly work without internet, use file mode.

If the cloud fails, you do not lose what you were doing. When the server does not respond for a transient reason (connection dropped, server down), the change stays stored in this browser and remains on screen; it uploads by itself as soon as the cloud responds. The status bar, in the footer, shows how many are waiting: click there to retry right away. You can keep working, and closing the tab does not lose the queue: it comes back when you reopen the project with the same account (on a shared computer, each account has its own). This covers day-to-day work (codings, attribute answers, disagreements, notes, saved AI conversations, memories and the history). Structural changes — creating/deleting documents, changing the code scheme, project management and imports — fail loudly right away, on purpose: in collective research, replaying them minutes later would produce a state nobody asked for. And if the cloud definitively rejects a change (your role in the project changed, or someone deleted the target), a notice shows what was rejected, with a shortcut to download a .qualilab before redoing it.

The same logic of trust as section 17.5 applies, then: the cloud is great for collaborating and syncing, but using it means trusting the content to whoever administers the database. For sensitive data, prefer your own Supabase, file mode or the local draft, where the content does not pass through someone else's server — and that holds also when you use AI, because with your key the browser talks straight to the provider, no middleman — with one exception that is yours to choose, OpenRouter, which is itself a middleman (17.1). What AI changes is the other end: the provider you choose sees the material sent (17.5).

Original PDFs in the cloud. Storing the original PDF's bytes in the cloud (for "view original"/OCR on another device) is optional and asks for explicit consent on upload, because then whoever administers the database becomes able to open the whole PDF, not just the text you coded. Unchecked, only the text and the coding go up. For sensitive data, keep the PDF in file mode.

Project mirrors (restore point)

A mirror is the whole project at one instant (documents, attributes, codes, codings, memos, links, disagreements, AI conversations and memories), kept next to the project to restore later. It lives in project pill → Project mirrors.

  • Mirror now (with an optional label) creates a manual mirror; manual ones stay until you delete them.
  • Automatic: before clearing the content, deleting a document, code or attribute, merging or splitting a code (in the Schema or through the AI) and editing a document's text, QualiLab mirrors on its own, at most once every 10 minutes. Before restoring, it always mirrors, even with the automatic mirror turned off. The 5 most recent automatic mirrors are kept.
  • The automatic mirror has a switch in the same card, on by default: each mirror is a copy of the text and the analysis (without the PDFs) and, with the 5 automatic ones, the project can take about 1.5× the size; in file mode it is the .qualilab itself that grows. Turning it off is a project decision (administrator) and goes to the history; manual mirrors remain available.
  • Restore swaps the whole project for the snapshot. The current state is mirrored first (you can undo the restoration itself), and the project history records the restoration: it is never restored, it is the record that the restoration happened. Restoring is an administrator's act.
  • What a mirror does not keep: the original PDFs (the PDF of a deleted document does not come back; the text and the analysis do) and the history. The AI use declaration, the team and the document distribution do not change on restore.
  • Where it lives: in the draft, in the browser's storage (outside the localStorage limit); in file mode, inside the .qualilab itself, so the file grows with each mirror; in the cloud, in a table and a bucket of their own, and only administrators create, restore and delete.
  • Not an external backup: lose the project's place and you lose both. For a copy outside, keep exporting the .qualilab (below).

Automatic folder backup (draft mode, Chrome/Edge)

Keeps a backup-automatico.qualilab always up to date in a folder of yours, as a mirror of the localStorage. Enable it under project pill → Automatic folder backup → Choose folder… ("Backup automático em pasta → Escolher pasta…").

Saving/downloading manually

export ▾ → .qualilab (full project, native) downloads the whole project at any time, in any mode. Good for versions and manual backups. (The same file is offered by the error banner's shortcut, when autosave fails.)

When saving fails

If the browser cannot write (localStorage full, folder permission revoked, disk removed), a persistent red banner appears warning that the latest changes were not saved, with a shortcut to download a .qualilab right away. It only disappears when saving works again. Do not ignore this warning: download the backup before continuing.

Cloud mode offline

The project pill turns amber when the connection drops, and the status bar, in the footer, shows offline or, when there are pending changes, how many changes are waiting to upload (click to retry right away). You can keep coding: what you write is stored in this browser and uploads by itself when the cloud responds again (it is the queue described in the box above, and it survives closing the tab).

What does not work without a network is reading what was not yet loaded: opening a document you did not open this session, or switching projects. That is why cloud mode does not replace file mode for truly offline work — and, if you are going to spend a long time without a connection, download a .qualilab first, as insurance.


17. Coding and Analyzing with AI

The AI screens are opt-in and sit in the header. The principles of section 0 apply here as rules: opt-in, transparency, and the AI never decides for you. Nothing is sent to an AI provider without you configuring a key and asking for the analysis.

QualiLab's AI does not "code by itself" and does not write to your project without permission. It appears on three screens: Auto-coding (assistants that propose changes to your project, which you review item by item), Analyze with AI (reading and interpretation of material you select) and Explore with AI (the AI fetches the material on its own; see 17.6). In all of them, the result is a proposal or a text you review. Applying any change is always an act of yours.

It is the longest chapter of the manual, so here is the map:

17.1 how it works here — where the call goes, whose key it is, the visible prompt, the size limits and the cost
17.2 Auto-coding — the five assistants, one per subsection (17.2.1 to 17.2.5)
17.3 Analyze with AI — the conversation about material you select
17.4 setting up your key
17.5 where your data goes — the providers, and what to trust in each
17.6 Explore with AI — the AI asks for the material instead of receiving it
17.7 turning AI off in this project

If you will not use AI, the only part that matters is 17.7, which turns the panels off and makes the Report state that. The rest of the manual does not depend on this chapter.

17.1 How the AI works here

  • Where the call goes. With your key (the normal case, see the next item), the browser talks straight to the provider you chose: the material passes through no QualiLab server. Three exceptions: local Ollama goes straight to your machine (nothing leaves it); a Custom/Azure endpoint that does not allow browser calls (the CORS rule belongs to whoever serves the API) makes the call be redone by a function on this project's server (the Supabase Edge Function ai-ask) — which then sees the material of that one send, and that path requires being signed in (with no account, the error tells you to allow this site on the endpoint); and OpenRouter, which also passes through no QualiLab server but is itself a broker, so the material crosses their server before reaching whoever runs the model. The AI card in My account says, for your configuration, which path it takes. For where each provider sends the data, and what that implies for sensitive material, see 17.5.

  • Whose key it is (BYOK). The default is you bringing your own key and model, configured in My account (see 17.4). They live only in this browser: the key accompanies only the request to the provider, and is stored on no server. (An instance hosting its own copy can, optionally, configure a server key; its calls then go through the ai-ask function, which is what holds that key. The public version has none.)

  • Seeing and configuring the prompt (⚙). The Auto-coding tabs (except Repeat Coding, which uses no AI) and Analyze with AI have, at the top, the ⚙ Configure Prompt button ("Configurar Prompt"). It opens the exact preview of what will be sent, section by section (role, memos, memory, material, rules, task), with the active model, the counts, the token and cost estimate (≈ R$, Brazilian reais) and a copy prompt button. In the same panel you adjust what the AI receives: on the Auto-coding screens, the AI-specific instructions, the injected memos and the project memory; in Analyze, all that plus the methodological stance (see 17.3). Nothing leaves these screens without passing through here. It is the concrete face of the transparency rule. In Explore with AI there is no preview: what goes out are the reading calls, which the screen lists one by one (see 17.6).

  • Supported providers (with your own key): Gemini, OpenAI, Anthropic, Azure OpenAI, Custom ("Personalizado": any API compatible with the OpenAI /chat/completions format — DeepSeek, Mistral, hosted Qwen, or your own Ollama/vLLM server exposed at a public URL), OpenRouter (a broker: one key reaches hundreds of models from many companies, and the material passes through their server on the way, see 17.5) and local Ollama (a model on your own machine, called directly by the browser, no server in between, see 17.5).

  • Redaction always before sending. Passages of codes flagged as redaction (5.5) are replaced by [trecho censurado] ("[redacted passage]") (in Explore with AI, by █ blocks of the same length, so positions stay valid) before the material leaves the browser. In Analyze with AI, you can opt to include a specific redaction code in that one analysis (explicit opt-in, per code).

  • Response tuning. The AI comes calibrated for focused, consistent answers (not "creative" ones), suited to analysis. You do not need to configure anything.

  • Size limits (and the notice when material is cut). There is a cap per send: about 400,000 characters (~133 pages) per document and 600,000 in total (~200 pages). A generous selection fits (several interviews, a whole ruling, all the passages of one code), but not the whole corpus at once. What goes beyond is cut to fit, and the cut comes in two kinds, with very different effects:

    • the whole selection went over the total: the last items on the list are left out entirely (in a coding assistant, the documents left out get no suggestion at all). In Organize Codes the cut is different: the code list always goes whole and what shrinks is the passage sample;
    • one document went over the per-document cap: it goes in, but only through its first ~133 pages. The rest of the text does not reach the AI. Here the way out is not selecting less: it is splitting the document into smaller ones.

    Whenever something is cut, a yellow banner appears on screen, in the configuration column, saying how many documents were left out and how many entered only partially. The ⚙ Configure Prompt preview shows the size in pages and marks in the text the exact point of the cut. Trust the notice, not the silence: without it, a result built on half the material looks like a complete result.

  • Cost estimate. With your own paid key, ⚙ Configure Prompt shows, before sending, the approximate cost of the send (≈ R$, next to the token estimate), so you know the estimated price before running. And, in Analyze with AI, every response carries its estimated cost (in R$, with the conversation's running total). Both are ceiling estimates (they do not discount caching); the pre-send one also assumes a response size (actual output varies). When a screen fires several calls — the blind evaluation of Suggest Attributes and Define Attribute, which reads one document at a time —, the estimate sums all of them, and a note next to the number says how many; the material bar keeps measuring the largest call, which is the one that can be cut. In Define Attribute, the test on the held-out documents is another click and has its own estimate, next to the button. The exchange rate and, for providers without a price table, your own rate are adjusted in My account. With local Ollama the cost is zero.

⚠️ The AI can err and make things up. Treat every output as a hypothesis to check against the cited passage. That is exactly why the rule is "the AI proposes, you decide".

17.2 Auto-coding: five assistants in tabs

Auto-coding, on the Suggest Coding tab: the assistants in tabs, at the top. On the left, the document and code selection; at the top, the "Configure Prompt" button with the send's token and cost estimate (≈ R$).
Auto-coding, on the Suggest Coding tab: the assistants in tabs, at the top. On the left, the document and code selection; at the top, the "Configure Prompt" button with the send's token and cost estimate (≈ R$).

The Auto-coding screen ("Auto-codificação") gathers five assistants in tabs, at the top: Repeat Coding ("Repetir Codificação", which opens by default), Suggest Coding ("Sugerir Codificação"), Suggest Attributes ("Sugerir Categorização"), Define Attribute ("Definir Categoria") and Organize Codes ("Organizar Códigos"). All follow the same pattern: the assistant proposes, you approve or reject item by item, and nothing is written without your confirmation.

One of the five uses no AI. Repeat Coding (17.2.5) is mechanical: it needs no key, sends nothing out, works offline and stays available with AI turned off in the project (the screen then keeps only it). That is why the screen is called "Auto-coding" and not "Code with AI". (Until v1.4.37 it was called "Codificar Automaticamente".) The other four are the ones that talk to the provider, and what follows below (prompt, cost, redaction) applies to them. The Memo for the AI and the project memory enter as context (section 11), redaction is masked, and the ⚙ Configure Prompt button shows the whole prompt and lets you adjust the AI-specific instructions, the injected memos and the project memory (see 17.1). If the response is too long and comes truncated, QualiLab keeps the complete items and discards only the last (incomplete) one.

The ⚙ Configure Prompt button (at the top of each assistant) opens the window below. On top are the controls: AI-specific instructions ("Instruções próprias à IA", guidance that enters every prompt, shared with Analyze with AI), Injected memos ("Memos injetados", by default the Memo for the AI; you can include others) and the Project memory ("Memória do projeto", toggling which insights enter the context). Below, the exact preview of what will be sent: the active model, the material count (in pages), how many redaction codes were masked, the token and cost estimate (≈ R$) and the prompt section by section (role and principles, memos, project memory, material), with the cut point marked in the text when the material did not fit. A copy prompt button takes it all to the clipboard. Nothing leaves the browser without passing through here: it is the concrete face of the transparency rule.

Configure Prompt, opened in Auto-coding: on top, the controls (AI-specific instructions, injected memos and the project memory, now inside the modal); below, the preview of what will be sent (model, material in pages, masked redaction and the token and cost estimate (≈ R$)) and the prompt section by section, with "Role and principles" showing the AI's inviolable rules (the AI proposes, does not invent, cites the source).
Configure Prompt, opened in Auto-coding: on top, the controls (AI-specific instructions, injected memos and the project memory, now inside the modal); below, the preview of what will be sent (model, material in pages, masked redaction and the token and cost estimate (≈ R$)) and the prompt section by section, with "Role and principles" showing the AI's inviolable rules (the AI proposes, does not invent, cites the source).

17.2.1 Suggest Coding: the second coder

(The tab that opens by default.) The AI acts as a second coder: it reads the documents and points out passages that fit existing codes but escaped your first reading. It does not create new codes. Select the documents and the codes it may use.

For each proposed passage, the AI copies the passage from the text, and QualiLab locates it in the document (it becomes a real highlight). Each item shows the passage, the code and a "new" badge (or "≈ approximate location" when the match is not exact). Passages already coded with that code are not re-proposed (the AI sees the existing coding); passages that could not be located in the text are discarded and counted. Redaction is never coded. On approving and applying, each passage becomes a coding in your layer. Check it in the Coding tab's reader.

17.2.2 Suggest Attributes: fill in existing attributes

The AI does not create attributes: it helps fill in the value of the attributes you already defined (in the Scheme), document by document. Select on the left which attributes and which documents enter; the AI reads the text and, for closed-option types, suggests exactly one of the valid options.

Attributes come before documents because their choice feeds the "no value (N)" filter ("sem valor"), next to "all" and "clear": one click selects only the documents where at least one of the checked attributes is still empty — which tends to be the work that remains. Each document on the list shows how many attributes are missing there, or "complete" when none is.

The important detail: the AI receives what is already filled in and only returns differences or empty fields: if it agrees with the current value, it proposes nothing. Each suggestion shows a badge: "already applied" (with the current value → the suggested one) or "empty" (a new fill). Approve the ones you want and apply: the values enter your answer layer (or the reference layer, in an individual project), as if you had typed them on the Coding tab.

The "Blind evaluation" checkbox changes what this tab is. In the use described above the AI sees what you already filled in: great as a cheap checker, and useless as a measure, because whoever sees the answer key before answering is not being evaluated. Checking the box, the AI answers all the selected attributes without seeing any answer of yours, and the comparison with your reference is done here, afterwards — not by it. It is one call per document (so that a document landing at the end of a long list does not answer in a different context than one landing at the start), which is why the progress bar counts documents.

The result is an agreement scoreboard, attribute by attribute, with four columns kept separate on purpose: agrees, diverges, the AI did not answer and no reference. Only the first two enter the count. "The AI did not answer" is a network failure, a malformed response or a value that did not fit the type/options — counting that as error would lower the number for the wrong reason; "no reference" is a document you have not answered yet, where there is nothing to compare against (those answers appear right below as fill-in suggestions, as in the normal mode).

How to read the number — and this is also said on screen: it measures agreement with that reference, not correctness — where the two diverge, what may be incomplete is the attribute's definition, but your answer may be too; and, with few cases, it does not tell 27 from 28. Read it as an order of magnitude, not a grade. In blind mode there is no follow-up conversation, on purpose: you do not refine a measurement by chatting with the one being measured. What you refine is the attribute's definition — and that is what the next tab is for. Switching modes clears the conversation, because the two answer different questions.

One last difference, visible in ⚙ Configure Prompt: in blind mode the prompt does not carry the Memo for the AI nor the project memory. They are free-text fields where an answer of yours may be written, and a memory entry may even have been proposed by the AI in a round where it saw the filled-in values — that alone would make the scoreboard measure the memory of the leak instead of the definition. The two sections appear in the preview declared as omitted, instead of vanishing without explanation.

17.2.3 Define Attribute: write the instruction from what you already answered

The answers you already gave contain the rule you applied; what is missing is writing it down. This tab reads a sample of the documents you already answered in one attribute and proposes its definition — the same description/instruction field of the Scheme that the human coder reads and that enters the AI screens' prompt. It mainly serves the cold start: with no definition written there is nothing to refine, and that is where a "check and adjust" loop does not help.

How it works, in order:

  1. Pick the attribute. Next to it the tab says how many documents have been answered. With fewer than six it refuses to run, and explains why: with so few cases any text would come out as conjecture dressed as criterion.
  2. Set the sample: how many training cases and how many held out. The held-out ones are separated before any call and do not enter the prompt — they are where the rule can be tested later, because memorizing a case the AI has already seen shows up as a hit. The sample is balanced by value (with 90 "No" and 10 "Yes", a random sample would teach "almost always No"), and a card shows the split that actually came out, value by value.
  3. Propose a definition. It runs in two stages: first a location pass — one short call per training case, which decides nothing, only copies from the document the literal passage that supports the answer you already gave (it is what makes a long corpus fit an induction) — and then the call that writes the entry.
  4. Edit and apply. The text comes in an editable field; Apply to the attribute ("Aplicar à categoria") writes it. Since the definition is part of the scheme, writing it requires administrator permission.

Along with the definition come three lists, and the first is what pays for the feature:

  • Cases the rule does not explain. The AI is required to apply its own rule to every case received and to list the ones where it would give an answer different from yours — without bending the rule to explain them all. Either your coding is inconsistent at those points, or there is a criterion you apply without having noticed: in both cases, that is where the work is. An empty list is grounds for suspicion, not praise: a rule that explains 100 out of 100 has almost always memorized the examples.
  • Points the examples do not settle. Where the cases do not suffice, the AI is forbidden from filling in with what sounds reasonable; the point is declared open, and writing the choice is yours.
  • Cases with nothing in the text supporting the answer. This falls out of the location pass for free, which judges nothing. It may be an answer that came from outside the document, a filling mistake, or bad text extraction.

The test on the held-out cases, and the loop. With the definition in the field, the Test the definition button ("Testar a definição") answers the held-out documents blind and compares them with what you answered. It is the same engine and the same scoreboard as the previous tab's blind evaluation, on purpose: the two numbers measure the same thing and can be compared. It tests the field's text (the draft), not what is stored — the whole point is knowing before applying — and it warns if you edit the text after the test. Where the definition erred, each case appears with your answer next to the AI's, and a button redoes the induction including those cases: they enter the next round's training, and the new held-out cases come only from documents that never entered any prompt.

Three limits worth knowing before trusting the number:

  • This tab requires your own key (My account). The output is tool-structured and talks straight to the provider, without passing through the server function.
  • After several rounds the number tends to become optimistic: the held-out set is new each round, but your choices came to depend on what you saw. For a clean measure, set aside documents you will not use in any round — that is method, not a button.
  • The "who already entered a prompt" bookkeeping lasts the session: switching attributes or leaving the screen restarts the count.

The five induction rules (write an instruction, not a description; the rule must hold for case 101; only write criteria the cases support; declare what could not be explained; the anatomy of the entry) are fixed and go in every prompt. They appear in full in ⚙ Configure Prompt and can be edited there: they are the floor, not a shackle — a rule that does not serve your study gets edited. The edit lasts the session and is not stored in the project.

17.2.4 Organize Codes: tidy the codebook

Helps whoever finished an open coding with dozens or hundreds of loose codes to tidy the scheme, in the spirit of grounded theory (theory built from the data itself). The AI reads the complete code list (with hierarchy and passage counts) and, optionally, a sample of up to 3 passages per code, and proposes operations, each with its justification:

Operation What it does
Merge Fuses redundant codes into one
Group Gathers codes under a family (existing or new)
Move (reparent) Changes a code's parent
Rename Suggests a better name
Promote Raises a subcode to the top level

The operations appear inside the AI's response (in the chat), each with approve/reject; apply the approved ones to change the scheme. Refine by asking for adjustments in a follow-up. Redaction codes stay out of this reorganization (they are not an analytic attribute).

17.2.5 Repeat Coding (no AI)

The Repeat Coding tab: on the left, the project's codes with how many terms each one has, the comparison buttons (with "whole word" on) and the Find occurrences button; on the right, three identical occurrences of the redacted term, each with the document, the surrounding text and the approve/reject buttons, and in the footer "Apply 3 coding(s)" with the notice that nothing is written without that click.
The Repeat Coding tab: on the left, the project's codes with how many terms each one has, the comparison buttons (with "whole word" on) and the Find occurrences button; on the right, three identical occurrences of the redacted term, each with the document, the surrounding text and the approve/reject buttons, and in the footer "Apply 3 coding(s)" with the notice that nothing is written without that click.

This tab uses no AI: it needs no key, sends nothing out, works offline and its result is always the same. It takes the passages a code already has and shows the other identical occurrences of them across the whole project, for you to approve one by one.

How to use it: select one or more codes on the left and click Find occurrences ("Procurar ocorrências"). Each result shows the document and the passage with its surrounding text, which is what lets you decide whether that occurrence deserves the code. Approve or reject item by item and click Apply ("Aplicar"). Occurrences you already applied stay marked and leave the count, so clicking again duplicates nothing.

Details that matter:

  • "Whole word" comes on by default. Without it, a short term matches inside another word ("Tal" inside "Total"). The three buttons (Aa case-sensitive, ab⃒ whole word, .* regular expression) are the same as the search's.
  • Occurrences that already carry that code are ignored and appear only in the count ("N already coded with this code"). If a different code already covers the passage, the proposal still stands: two codes on the same passage is legitimate.
  • It finds identical text, not variants. If you marked "Banca Exemplo Advogados", this tab does not find "Banca Exemplo" or "the firm". For those, use search + and decide case by case: only you know whether "the firm" is the same office.
  • It serves any code, not just redaction. It is especially useful with recurring terms (a party's name, an agency, a boilerplate phrase). With codes whose passages are long sentences, finding nothing is normal — a long sentence rarely repeats verbatim.

Why it exists. Redaction protects what you marked, and it is easy to mark a name on one page and let the other five mentions slip. The alternative would be QualiLab warning "there are N unprotected occurrences", and that was discarded on purpose: such a warning, when it finds nothing, reads as "all clear", which the tool has no way to guarantee (identification also happens by combining clues, not just by name). A list of proposals for you to approve promises none of that, because the one deciding is you.

17.3 Analyze with AI: assisted reading of the material

Analyze with AI: at the top, the Material selector and the "Configure Prompt" button; on the left, the material selection; on the right, the Task (free text, with the prompt library) and the conversation.
Analyze with AI: at the top, the Material selector and the "Configure Prompt" button; on the left, the material selection; on the right, the Task (free text, with the prompt library) and the conversation.

Helps interpret the material, always citing sources, in an iterative conversation. You choose the scope (what material enters) and describe a task (the question or the analysis request). Useful conversations can be saved: they then appear on the Memos tab, under "Saved conversations".

The screen is a chat. In the top bar are the ⚙ Configure Prompt button (left, see below) and the Material selector (the scope). On the left you select the material (documents in a list, or a code tree with colors and counts) and check/uncheck the redaction. On the right are the Task (in the header, collapsible), the conversation and the message box fixed at the bottom. Responses come formatted (headings, lists) and, while the AI thinks, an animated indicator shows. (On first use, a notice invites you to open "Configure Prompt" before analyzing.)

The Task (what you want the AI to do). The task field is free text, and this is where the essence lives: the best results come from the task you write, in your words and with your research question. There is no pre-made "right" task: the analysis is yours, and the AI answers what you ask.

To avoid starting from zero (or for inspiration), the prompt library ▾ button ("biblioteca de prompts ▾") offers two things: QualiLab's example prompts and the prompts you yourself saved. Any item inserts into the field as an editable starting point: adjust it before sending. When you put together a request that works well, click ✦ save ("salvar") to keep it (it then appears here and on the Memos → "Saved prompts" tab, where you can rename or delete it): that is how you build your own library, which is the goal. The example prompts (a starting point, not a closed menu) vary with the scope:

  • Documents (the full text of the chosen documents): Candidate themes · Latent layer · Analytic synthesis · The unexpected · Differences between cases · Variation by attribute.
  • Passages + Code (each code's passages, treated as an analytic attribute): What is in the code · Coherence and saturation · Code vs. definition · Differences between cases · Analytic memo.
  • Documents + Passages + Code (the coding read in context, a "second reading"): Which codes would complement the analysis · Which codes challenge the analysis · Validation in context · Passage in context · Contextualised synthesis · Variation by attribute.

Configuring the prompt (⚙). The ⚙ Configure Prompt button (at the top) opens the panel where you adjust the AI's voice and check exactly what will be sent:

Configure Prompt on the Analyze with AI screen: at the top, the Stance (Role and principles) with the Default, Inductive, Deductive, Abductive and Custom buttons; below, the AI-specific instructions, the injected memos, the project memory and the attributes toggle, and the section-by-section preview of what will be sent.
Configure Prompt on the Analyze with AI screen: at the top, the Stance (Role and principles) with the Default, Inductive, Deductive, Abductive and Custom buttons; below, the AI-specific instructions, the injected memos, the project memory and the attributes toggle, and the section-by-section preview of what will be sent.
  • Stance ("Postura", Role and principles): the analysis's methodological lens, in a single click. Default (privileging no approach), Inductive (builds attributes from the material itself), Deductive (evaluates the material in light of the existing code scheme), Abductive (seeks the explanation that best accounts for the data, the unexpected included) or Custom (opens a field for you to describe the stance in your own words). Each stance's text appears right below the buttons, and enters the prompt as part of the AI's role.
  • AI-specific instructions: guidance that enters every prompt (e.g. "prioritize the interviewees' language"). (Shared with Auto-coding.)
  • Injected memos: which memos the AI receives. By default, the Memo for the AI (section 11); you can include others (project, document, code or passage).
  • Project memory: toggles which entries of the insights journal (section 11) enter this analysis's context.
  • Attributes as metadata: optionally, attaches each document's filled-in attributes (the case's attributes), so the AI can situate each voice. Off by default.
  • Preview and provenance: below the controls, the prompt appears section by section, with the active model, the counts (material in pages) and the token and cost estimate (≈ R$), and a copy prompt button. If the material does not fit, the cut is announced on screen and marked in the preview's text (see 17.1).

Step by step:

  1. Open the Analyze with AI tab.
  2. At the top, choose the scope and, on the left, select the material (there is a collapsible attribute filter, to check many documents at once; codes come as a tree).
  3. Write the Task (right), from scratch or starting from a prompt library suggestion. If you want, open ⚙ Configure Prompt to set the stance and check the preview.
  4. Click Start Analysis ("Iniciar Análise"); then refine by follow-up as many times as you like, through the message box at the bottom. "Analyze again" restarts with the current selection; "Clear conversation" resets it.
  5. Save the conversations worth keeping (the Save Conversation (Memos) button). They then appear under Memos → Saved conversations, opening in full.

The AI receives, along, each code's memo and (if you flip the Attributes as metadata toggle in Configure Prompt) each document's filled-in attributes, to anchor every observation in its source (document, author, layer) — consistent with the idea, back in section 0, of keeping the evidence next to the interpretation.

The "Suggest memories" button. At the end of a conversation, it asks the AI to propose short entries for the Project memory (section 11): facts or decisions worth remembering across sessions. You approve, edit or reject each one before it is written.

17.4 Setting up your key (optional)

Under My account → AI: your key and model:

  1. Choose the provider.
  2. For Azure, Custom or local Ollama, provide the base URL (Ollama's comes pre-filled with http://localhost:11434/v1).
  3. Paste your API key (required for the catalog providers and Azure; with Custom, only if the server asks for one; local Ollama needs none). When switching providers, the fields come cleared: key, model and base URL belong to one provider. Returning to the saved provider restores its configuration, and the card warns if a pasted key looks like another provider's.
  4. Choose the model (or the deployment name, on Azure; on Ollama, type the name of the downloaded model, e.g. qwen2.5:14b). In general, bigger models are more capable, but slower and pricier.
  5. save ("salvar"), or clear ("limpar") to remove your key.

The same card also holds, folded under Estimated cost (calculator), the US$→R$ exchange rate and, for providers without a price table (Custom/Azure), your own rate per million tokens, used in the cost estimate (17.1).

Your key stays only in this browser (it is stored on no server); it only accompanies the request the browser itself makes to the provider.

17.5 Where your data goes: providers and configuration

With your own key, the browser sends the material straight to the provider you chose (Gemini, OpenAI, Anthropic, Azure, OpenRouter or Custom), passing through no QualiLab server. All follow the same logic: QualiLab sends the material, the provider processes and returns — and it is at the provider that the trust decision lives. Two exceptions: local Ollama, where the browser talks to the model on your own machine and nothing goes to the internet; and a Custom/Azure endpoint that refuses browser calls, in which case the call is redone by a function on this project's server (Supabase ai-ask), which then sees that send's material (the key is still not stored there).

OpenRouter is a broker, and that changes the trust arithmetic. The other providers on the list are the ones running the model: you send to OpenAI and OpenAI answers. OpenRouter is a broker — one key reaches hundreds of models from dozens of companies, picked by name in the form company/model (type part of the name in the model field, such as claude, and it suggests the matching ones). Two consequences, one good and one to weigh. The good one: each model's price comes from their API, so the cost estimate does not go stale for this provider (for the others it is a table someone maintains by hand). The one to weigh: it is one more company in the path, the material crosses OpenRouter's server before reaching whoever answers, and there are now two retention policies to trust instead of one. For sensitive data that counts against it; for comparing models without opening accounts at five companies, it counts in favour. It is on the record: what was used appears as OpenRouter: model in saved conversations and in the Report's AI declaration, so whoever reads your work knows a broker was in the path.

One practical detail about OpenRouter: not every model on the list accepts tools. The ones that do not are fine for Analyse with AI and for Auto-coding, but they fail in Define Category and Explore with AI, which rely on them. The AI card in My account warns you when the model you picked is one of those.

Retention and training: trust the provider, not the clause. You have no way to audit what a provider does with your material; it comes down to believing its policy, which changes over time and lives on technicalities ("we don't train, but we retain for safety"). So the most honest rule is not memorizing who trains:

Rule of thumb: if you would not submit this data in a chat with ChatGPT / Gemini / Claude, even with "use my data" turned off, do not submit it through the API. Going through the API changes the policy's details, not the fact that the data leaves for a third party you have to trust.

When the answer is "I don't trust them", do not swap one promise for another. Swap it for something that does not depend on trust: contractual zero retention (institutional, with real legal recourse) or local (Ollama, where the data does not leave the machine).

For the record, what the policies say today (and it can change): free and consumer tiers (the free Google AI Studio key included) tend to train on your content, and Google itself warns "do not send sensitive information"; the OpenAI and Anthropic APIs say they do not train by default, but retain for days. This serves to choose among low-risk options, not to trust sensitive data to a promise.

Local Ollama, in practice. Since the browser calls localhost directly (bypassing any server), two browser security rules come into play: you must authorize the app's origin when starting Ollama (with OLLAMA_ORIGINS) and, if the app is on HTTPS, some browsers block the call to http://localhost. The most reliable path is running the app locally (the downloaded index.html, or python -m http.server 8000). Then there is no conflict. The technical details are in the README.

For restricted data, the only combination that keeps everything on your machine is local Ollama with the app running locally, offline. Small local models are less accurate, but for the tasks that require a strict format QualiLab already enables a mode that forces the correct output.

17.6 Explore with AI: the AI asks for the material, instead of receiving it

Until v1.4.37 this screen was called MCP/RAG (the mechanism's technical name). What it does has not changed.

The Explore with AI screen answering "what appears in place of the names?": at the top, the amber "experimental" pill and the document and tool counts. Between turns, each call the AI made (get_project, list_documents, get_document_content) appears with its arguments and what each returned; in the answer, the passage read comes with the names as black blocks, because redaction is applied before the text goes out to the model.
The Explore with AI screen answering "what appears in place of the names?": at the top, the amber "experimental" pill and the document and tool counts. Between turns, each call the AI made (get_project, list_documents, get_document_content) appears with its arguments and what each returned; in the answer, the passage read comes with the names as black blocks, because redaction is applied before the text goes out to the model.

This screen is experimental, and the app says so on it. It works and alters nothing, but it is QualiLab's newest surface: the response format and the tool set may still change between versions. Do not use it as the only record of an analysis — whatever you want to keep, keep in a memo or in the report.

On the other AI screens you assemble the selection before asking: you choose documents, codes, scope, and the AI receives it ready. Here it is the opposite: you ask, and the AI fetches the material on its own, requesting what it needs through a set of reading tools — read a document, search a term, list a code's passages, see the memos. Every request appears on screen, with the tool, the arguments and a summary of what came back.

That changes the kind of question that fits. On the other screens you ask about material you have already delimited; here you can ask about the whole corpus without knowing in advance where the answer is:

  • "Which documents talk about deadlines, and how does the theme appear in each?"
  • "Compare how the coders used the Risks family."
  • "Find passages that contradict the note I wrote on the project."

What it can and cannot do. All the tools are read-only: none creates, changes or deletes anything in your project. Redaction applies here as it applies everywhere — flagged passages arrive masked, and the mask preserves the text's length, so positions stay correct. And the screen shows what was actually requested, not what the AI says it requested: if the answer claims something no reading supports, the call list gives it away.

It requires your key (see 17.4), and it consumes more than the other screens: each question becomes several trips to the provider, because the AI reads, thinks and reads again. There are automatic ceilings — on reading steps and on the amount of material — and, when one is hit, the screen says so instead of stopping without explanation.

When to prefer the other screens. If you already know which material you want to analyze, Analyze with AI is more direct and cheaper. This screen wins when the question is one of search: when finding the material is part of the problem.

Without paying per token: the same tools inside the assistant you already subscribe to

This screen charges your API key, per token. If you already pay for a Claude (Pro/Max) or ChatGPT subscription, there is a path that costs nothing beyond it: instead of QualiLab talking to the model, the assistant you already use reads your corpus.

The reason this exists is a limitation that is not ours: a subscription is not an API credential. Paying for Claude or ChatGPT does not give you a key another program can use — they are separate charges. So, for subscribers, the cheap path is the inverse: not bringing the model to QualiLab, but taking the corpus to the assistant.

That is done by an add-on you install into your assistant, distributed at LuizPF42/QualiLab-plugin — its own repository, with each client's installation instructions. It is not part of QualiLab: it is a separate program that reads the .qualilab files you export (section 15). You point it at a folder, and the assistant lists the projects inside it.

It offers the same tools as this screen — literally the same code — with the same vocabulary and the same rules: read-only, nothing is changed in your file, and redaction arrives masked just the same.

One honest caveat, and it differs by client. In the Claude chat, the mask is a real boundary: the add-on is the only path to your corpus. In an agentic client (one that runs tasks and touches files), the assistant has file tools of its own, and the .qualilab stores the text raw — if it opens the file from outside, redaction does not reach it. There the mask is a respected convention, not a lock.

17.7 Turning AI off in this project

Not every research project wants AI around, and there are two quite different reasons for that: the research that needs to declare it did not use it (to the ethics board, to the reviewer, to the article's reader), and the coordination that fears model coding entering as human judgment — which contaminates inter-coder agreement, saturation, everything. QualiLab serves both with a single switch, changing its scope.

The question every new project asks: the "New draft" window, with the "AI features" block, the two buttons (No AI, which comes pre-selected, and Enable AI) and, in the footer, "Continue without AI" next to "Continue".
The question every new project asks: the "New draft" window, with the "AI features" block, the two buttons (No AI, which comes pre-selected, and Enable AI) and, in the footer, "Continue without AI" next to "Continue".

The question comes at creation. Every new project — in the cloud, in a file or a draft — asks whether the AI features should be available. The option that comes pre-selected is "No AI" ("Sem IA"): enabling requires changing the choice, and leaving the window without answering keeps it off. In the header, between the project pill and your name, an AI badge always shows this project's AI state: a green ring when it is on; a red ring with a bar when it is off or restricted to administrators. Administrators click it to switch, with confirmation. You can also change it under Project → AI features ("Recursos de IA", clicking the project pill):

choice who keeps the AI screens
Enabled ("Ativados") everyone
Admins only ("Só para administradores") the coordination; the other researchers do not
Disabled ("Desativados") nobody, you included

Disabled includes you on purpose: it is what lets you tell the team "nobody here uses it, me included", and it is what keeps the door from being reopened in the rush of a deadline.

Beyond this switch, the role matrix (Uses the AI panels) can take the AI screens away from members even with AI on, with the same cut (Auto-coding stays, with only Repeat Coding). For someone with the read-only role none of the three appears, Repeat Coding included, because that role does not code.

What disappears, and what stays. Analyze with AI and Explore with AI leave the header, along with the configuration that only serves the AI screens (the Memo for the AI and the Saved prompts, on the Memos screen). Auto-coding stays, with only the Repeat Coding tab, which uses no AI at all and is the tool section 5.5 recommends for closing the redaction (finding the other identical occurrences of an already-redacted term); a line at the top of the tab explains why the others do not appear. (Until v1.4.64 the screen left whole, and Repeat Coding with it.) What also stays is the record of what already happened: the saved conversations and the project memory remain where they were. Hiding the record would be the opposite of the transparency the statement promises — and it is what the report counts.

The decision travels with the project. It rides inside the .qualilab: saving as a file, reopening later or sending to the cloud preserves what you chose. Importing material from a no-AI project into a project with AI on does not change your configuration (the decision belongs to the receiving project, not to the arriving file), but the import summary notes that the material came from such a project. And AI conversations stored in a file do not enter a project that disabled AI — the summary says how many were left out, and why.

The report starts saying so. See 12.5.

This is not a technical barrier, and it is important that you read it that way. Anyone can copy a passage and paste it into another tool, and no software prevents that. What the switch does is take bulk work out of the application — and it is volume that shifts an analysis, not a one-off query: three passages copied by hand do not move inter-coder agreement; two hundred suggestions accepted in one sweep replace an entire coder's judgment. Whoever turns AI off should not read "100% manual" as proof of anything. It is also the trade to make with open eyes: with the screens open you see how much AI came in; with them closed much less comes in, and what comes in from outside arrives indistinguishable from manual work.


18. Troubleshooting

The app does not load / blank screen when opening the downloaded file. The app opens without internet; only the heavy features (reading PDF, DOCX or spreadsheets, OCR, semantic search) and the cloud need a network on first use. A blank screen is usually the browser blocking file://: serve it from a local server, with python -m http.server 8000 in the index.html folder.

With the app installed, switching screens opens a browser window. Uninstall and reinstall the app, or, in Edge, under edge://apps → QualiLab → Details, turn off link handling.

Importing an .xlsx spreadsheet says it could not load. The spreadsheet library is downloaded from its maker's site on first use (after that, in the installed app, it is kept); without internet on that first use, try again later, or save the spreadsheet as .csv, which does not depend on it.

A whole-project screen (Reading, Charts, Report) is slow or times out in a large project. Try again; if it persists, the limit is the project's size for that screen, not something you did.

I do not see "New file…" or the folder backup. Those features use the File System Access API, which only exists in Chrome/Edge. On Firefox/Safari, use cloud or draft mode.

Red banner "the latest changes were NOT saved." Storage filled up or became unavailable. Click download .qualilab immediately; then free up space (the draft is capped at ~5 MB) or migrate to file/cloud mode.

A colleague does not see my new codes / attributes. The attribute scheme and the code tree do not sync live — ask them to reload the page. (Codings and attribute answers do sync.)

I imported a .qdpx and the attributes came with the wrong type. Types are inferred when the file comes from another tool. Adjust them under Scheme → Attributes (or "Manage scheme").

I imported a .qdpx and all the attribute answers are under my name. A REFI-QDA format limitation: it stores no attribute authorship (only passage authorship). To preserve per-researcher authorship, use the native .qualilab.

I deleted a code/attribute/document by accident. Open project pill → Project mirrors: if the automatic mirror was on, there is a snapshot from before the deletion, and Restore brings the project back to that instant (the original PDFs do not come back). Without a mirror, recover from an exported .qualilab. Ctrl+Z only undoes the last passage coding.

I created the account and cannot sign in / the code is not accepted. Signup confirmation is by typed code, not by link: the e-mail brings a number, and you type it on the "Confirm your registration" screen ("Confirme seu cadastro"). Type all its digits. If refused, the most common reason is that it expired (it lasts one hour) or that you are reading an old e-mail after asking to Resend the code — in that case only the most recent e-mail's code counts. Check spam. If the account is already confirmed, use "I already confirmed — let me in" and log in normally.

Problems with the group cloud (the server does not answer, the key is refused, the sign-up e-mail brings a link instead of a code, a colleague cannot find the project). See Common problems with the group cloud, in 2.4.

I forgot my password. On the cloud access screen, click Forgot my password ("Esqueci minha senha"), provide the account's e-mail and send. A link arrives by e-mail that opens QualiLab straight on the create a new password screen. Done, you are in. The link lasts a short time and can be used once; if you get "Link expired", ask for another on the same screen. Check spam. For safety, the on-screen message is the same whether or not an account exists with that e-mail (the app does not confirm who is registered).

If you see "The server hit this hour's e-mail limit", it is not a problem with your account: the server has an hourly sending quota, shared between signup confirmations and password recoveries, and it ran out. Wait a few minutes and try again; if it persists, tell whoever administers the server (the quota goes up by configuring their own SMTP).

The AI did not mention some documents I selected (or stopped midway through one). The selection went past what fits in one send and was cut. Go back to the configuration column and look for the yellow banner: it says how many documents were left out (those get no suggestion at all) and how many entered only through their first ~133 pages. For the ones left out, select fewer documents and run again; for a document too long, split it into smaller ones. The limits and what each cut means are in 17.1.

The PDF imported with scrambled text. Very visual PDFs (columns, tables, scans) can extract poorly. Tables are not reconstructed. When possible, prefer .docx/.txt, or paste the clean text.


19. Keyboard shortcuts

Shortcut Where Action
Right-click on a selection Coding Menu to apply/create a code (the floating bar over the selection opens the same menu)
Right-click on a highlight Coding Remove / change code, annotate passage
Right-click on a colleague's highlight Reading ▸ Documents (collective project) I agree / I disagree (or undo)
↑ ↓ / Enter Right-click menu Choose / apply the code
Ctrl+K Any screen Command palette: go to a document, screen or action
? Any screen (outside a text field) Shortcut map
1 … 5 Coding, with a passage selected Apply one of the session's 5 recent codes (the numbered list in the panel)
Ctrl+Z Coding Undo the last coding (applied or removed)
Enter / Shift+Enter Search (search) Next / previous occurrence
Enter / Esc Renaming a document Confirm / cancel
Delete / Backspace Coding Delete the focused highlight (click a highlight to focus it)
↑ ↓ Code tree Walk through the codes
← → Code tree Close / open the node
Home / End Code tree First / last visible code
Enter / Space Code tree Select the code (or apply it, if a passage is selected)
Tab / Shift+Tab Dialog window Cycle through the controls, without leaving the window
Esc Any screen Close whatever is on top: menu, search, palette, filter, dialog (in a dialog, focus returns to the button that opened it)
← → Screen bar Go to the previous / next screen
← → Panel divider Adjust the width (16 px per press)
Double-click Panel divider Return to the default width

20. Glossary

  • Code: a label applied to a passage; hierarchical (family → subcodes).
  • Attribute / attribute: a property of the whole document (seven field types).
  • Coding: one application of one code to one specific passage (with author and layer).
  • Layer: individual (each researcher's) or final (the consolidated reference).
  • Reference layer ("gabarito"): the team's consolidated final layer.
  • Reconciliation: the screen where the team consolidates the reference layer (collective project).
  • Memo: an analytic note per project/document/code/passage.
  • Redaction ("censura"): a code that masks sensitive passages in the transparency outputs and in what goes to the AI. The work formats (.qualilab, QDPX, QDC, CSV, JSON) leave complete — see 5.5.
  • Project history ("Histórico do projeto"): the audit trail of the process, in the Memos tab: the list of operations that changed the project (imports, merges, deletions, bulk applications, consolidations, exports), with date and author. It undoes nothing and keeps no deleted content — see 11.1.
  • Co-occurrence: two codes applied to the same passage (or overlapping).
  • Link: a named relation between two codes, or between a code and an attribute, such as contradicts or is part of; it is an annotation, not a measurement, see 7.5.
  • Disagreement: the I disagree verdict on a colleague's code, in Reading or Reconciliation; it deletes nothing and does not enter counts, see 9.
  • Mirror: a snapshot of the whole project at one instant, to restore later, see 16.
  • Mode (storage): where the data lives (file, draft or cloud).
  • Project type: individual (no reconciliation) or collective.
  • Role: administrator (scheme, reference layer, members, mirrors), member (codes) or read-only (reads and comments in memos). What each role can do is adjusted item by item in the project's matrix, see 13.
  • REFI-QDA / QDPX / QDC: the open interchange standard between QDA tools.
  • ATI: Annotation for Transparent Inquiry, the QDR's transparency method.
  • W3C Web Annotation: the open annotation data standard (the base of ATI, hypothes.is etc.).
  • Opt-in: a feature off by default that only acts when you trigger it (the AI rule in QualiLab).
  • BYO-key (bring your own key): using your own API key from an AI provider (the default in QualiLab; stored only in your browser).
  • Explore with AI (until v1.4.37, "MCP/RAG"): the (experimental) screen where the AI asks for the material it needs, instead of receiving a selection you assembled beforehand; each of its requests stays visible. See 17.6.
  • Provider / LLM: the language-model service the AI calls (Gemini, OpenAI, Anthropic, Azure, an OpenAI-compatible one, or local Ollama on your own machine).
  • Local Ollama: a language model running on your machine (via Ollama), called directly by the browser, no server in between — the option where the material does not leave your computer.

QualiLab, your own lab for qualitative research. Developed by Luiz Pimenta Filho (LabDados / FGV Direito SP). MIT License.