Next-Gen App & Browser Testing Cloud
Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Create a requirements traceability matrix online: map requirements to test cases, track coverage gaps, orphan tests, and defects, then export the RTM to Excel or CSV. It is free, runs in your browser, and needs no signup.
Tick a box where the test case (column) verifies the requirement (row).
| Requirement | TC-01 |
|---|---|
| REQ-01 |
| Requirement ID | Requirement Description | Test Cases | Status | Defects |
|---|---|---|---|---|
| REQ-01 | GAP |
| Test Case | Description | Status | Requirements Covered |
|---|---|---|---|
| TC-01 | Not Run | ORPHAN |
A requirements traceability matrix (RTM) is a table that maps every requirement to the test cases that verify it, proving nothing in the agreed scope ships untested. The Requirements Traceability Matrix Generator by TestMu AI builds that table in your browser, calculates coverage, flags gaps, and exports the result to Excel or CSV.
Each row pairs a requirement ID with its linked test case IDs, the rolled up execution status, and any defects raised against those tests. In software testing the RTM is also called a test traceability matrix, and it is usually built during test planning and updated after every test cycle.
Traceability is a core concept in requirements engineering standards such as ISO/IEC/IEEE 29148, and the ISTQB glossary defines it as the degree to which a relationship can be established between work products. In audits and regulated projects, the RTM is the document that demonstrates that relationship.
This TestMu AI generator builds the matrix from three inputs: your requirements, your test cases, and the mapping between them. Follow these steps to create an RTM in a few minutes:
A complete RTM traces links in more than one direction. The three types of traceability matrix differ in which way the links run and which question each one answers:
| Aspect | Forward traceability | Backward traceability | Bidirectional traceability |
|---|---|---|---|
| Direction | Requirement to test cases | Test case to requirements | Both directions in one matrix |
| Question it answers | Is every requirement tested? | Does every test verify a real requirement? | Is the full scope tested with no wasted tests? |
| What it finds | Coverage gaps (GAP rows) | Orphan tests mapped to nothing | Gaps and orphans together |
| Typical reader | Auditors and product owners | QA leads pruning the test suite | Release managers approving a build |
This generator is bidirectional by default. One set of checkboxes produces both the forward view and the backward view, so you never maintain two separate sheets.
A practical RTM stays small enough to read on one screen but complete enough to survive an audit. These are the five columns this generator exports:
Here is a requirements traceability matrix example for a login feature:
| Requirement ID | Requirement | Test cases | Status | Defects |
|---|---|---|---|---|
| REQ-01 | User can log in with a valid email and password | TC-01, TC-02 | Pass | None |
| REQ-02 | Account locks after five failed login attempts | TC-03 | Fail | BUG-104 |
| REQ-03 | User can reset a forgotten password by email | TC-04, TC-05 | Partial | None |
| REQ-04 | Session expires after 30 minutes of inactivity | None | GAP | None |
REQ-04 has no mapped test, so coverage for this matrix is 75%: three of four requirements are linked to at least one test case. REQ-03 shows Partial because one of its two tests has not been run yet.
The generator does the bookkeeping a spreadsheet template makes you do by hand. Here are the features of the TestMu AI requirements traceability matrix generator:
The RTM answers the one question every release gate asks: is the agreed scope actually verified? Teams use it to:
TestMu AI maintains this generator alongside its cloud testing platform, where teams run those mapped tests across 3000+ browsers and 10,000+ real devices. For matrices that outgrow a single page, TestMu AI Test Manager keeps requirement to test traceability at project scale, and KaneAI can author the test cases themselves.
Need the inputs first? Turn features into stories with the User Story Generator, draft test cases with the Test Case Generator, and fill them with realistic values from the Test Data Generator. Once the matrix is exported, open the CSV with the CSV to Excel converter or reshape it with CSV to JSON.
A requirements traceability matrix in software testing is a table that links each requirement to the test cases that verify it. QA teams use it to confirm every requirement is tested, see which tests failed, and trace defects back to the scope they affect before a release is approved.
The RTM is usually prepared by the QA lead or test engineer during test planning, with input from the business analyst who owns the requirements. In practice anyone on the project can maintain it, because the matrix is only a mapping between two lists the team already keeps.
The three types are forward, backward, and bidirectional traceability. Forward traceability maps requirements to test cases, backward traceability maps test cases back to requirements, and bidirectional traceability combines both, so one matrix shows coverage gaps and orphan tests together. This generator builds the bidirectional view from a single mapping.
Yes, in a lighter form. Agile teams trace user stories and acceptance criteria to automated and manual tests instead of formal requirement documents. The matrix still answers the same question, whether every story has at least one verifying test, and it is often required in regulated industries regardless of methodology.
Coverage is the number of requirements mapped to at least one test case, divided by the total number of requirements, shown as a percentage. A requirement with zero mapped tests is flagged GAP. Execution status does not change coverage and is reported separately in the status column.
The requirement rolls up to Fail whenever any mapped test case is marked Fail, because a single failing verification means the requirement is not proven. If no test fails but at least one is Not Run, the requirement shows Partial. It shows Pass only when every mapped test passes.
An orphan test case is a test that is not mapped to any requirement. It either verifies undocumented behavior or wastes execution time. This generator lists orphans under the backward view so you can decide whether to document the missing requirement or retire the test.
Yes. The Copy for Excel button places the matrix on your clipboard as tab separated values that paste cleanly into Excel or Google Sheets, and the CSV download opens directly in any spreadsheet tool, ready to attach to a test plan or share with your team.
No. The whole generator runs in your browser, so requirements, test cases, mappings, and exports never leave your device, and nothing is stored between sessions. That makes it safe for confidential project scope, unreleased features, and client requirements covered by an NDA.
Yes. Many to many mapping is the normal case, because one end to end test often verifies several requirements and one requirement usually needs several tests. Tick as many checkboxes as apply, and the forward and backward views both reflect every mapping you make.
Did you find this page helpful?
TestMu AI forEnterprise
Get access to solutions built on Enterprise
grade security, privacy, & compliance