# What is data masking? Meaning and examples | MyRecords

> Data masking replaces personal details such as phone numbers and ID numbers with placeholders before data is shared. How it works with AI, and its limits.

Canonical: https://myrecords.cloud/resources/glossary/data-masking/
Last updated: 2026-12-03

Glossary · AI

**What is data masking?**

Definition

Data masking replaces sensitive values, such as phone numbers, e-mail addresses and ID numbers, with placeholders before data is shown or sent elsewhere.

Subject

AI

Applies

In any country

Also called

PII masking, pseudonymisation, data redaction, tokenisation of personal data

Term 34 of 150, A to Z Updated 3 Dec 2026

## What it means

Data masking hides sensitive values before data goes somewhere it need not be seen in full. A phone number becomes a placeholder. The rest of the text stays readable.

With AI, masking is done just before text is sent to the AI provider. The provider answers using the placeholders, and the system puts the real values back in the answer you read. This is reversible masking.

In law the closer word is pseudonymisation. The GDPR defines it as processing personal data so that it “can no longer be attributed to a specific data subject without the use of additional information”, with that information kept separately (Article 4(5)). It is not the same as anonymisation: the text can still describe a person in other ways, for example by name.

## Example

|  | Text |
| --- | --- |
| In your records | Call Kaveri Agencies on +91 98480 00000 about invoice 214 |
| Sent to the AI provider | Call Kaveri Agencies on [PHONE_1] about invoice 214 |
| The answer you read | A reminder draft with the real phone number put back |

The name is not masked here. The phone number and the placeholder style are sample data.

## Common mistakes

-   Calling masked data anonymous. If names remain, it still describes people.
-   Assuming a photo or scan is masked. Masking works on text.
-   Storing the list of swaps next to the masked text. Then nothing is hidden.
-   Forgetting the logs. A log that keeps the original text undoes the masking.

## In MyRecords

With “Hide personal details from the AI provider” on, which is the default, e-mail addresses, phone numbers, IBANs, card numbers and listed tax and ID numbers are replaced with placeholders before text leaves. The list of swaps is kept in memory for one exchange only, and the AI log keeps the masked text. Names, postal addresses, photos and scans are not masked. See [AI privacy and masking](https://myrecords.cloud/product/ai-assistant/ai-privacy-and-masking/).

## Official sources

Updated 3 Dec 2026

1.   [Regulation (EU) 2016/679 (GDPR), Article 4(5): pseudonymisation](https://eur-lex.europa.eu/eli/reg/2016/679/oj) eur-lex.europa.eu · Definition read on 3 Dec 2026 from the mirror at gdpr-info.eu/art-4-gdpr/. Cited for the meaning of the word, not as legal advice.

## More ai terms

[All ai terms](https://myrecords.cloud/resources/glossary/#ai)

-   [Human in the loop Human in the loop means an AI system proposes an action and a person approves, corrects or rejects it before it takes effect.](https://myrecords.cloud/resources/glossary/human-in-the-loop/)
-   [OCR Optical character recognition (OCR) turns the text in a photo, scan or PDF image into characters that a computer can search, copy and store.](https://myrecords.cloud/resources/glossary/ocr/)
-   [AI agent An AI agent is a language model given a job, a trigger and limits. It starts on a schedule or an event, reads what it may read and leaves a result.](https://myrecords.cloud/resources/glossary/ai-agent/)
-   [AI hallucination An AI hallucination, or confabulation, is content a language model states with confidence that is wrong or made up.](https://myrecords.cloud/resources/glossary/ai-hallucination/)

Any business, anywhere

## Put these terms to work in your books.

Accounting, tax, stock, payroll and loans in one system, customised to the way you work.

[See every app](https://myrecords.cloud/product/) [Works worldwide](https://myrecords.cloud/solutions/worldwide/)

Free, no obligation

Request a quote

-   For the apps and modules you pick
-   At our best price, in writing
-   Your questions, answered by our team

[Request a quote](https://myrecords.cloud/contact/?topic=quote) [or contact us](https://myrecords.cloud/contact/)
