Hongmu Notes

Batch coding tool

Batch coding and processing of batches of data: When there is one record in each line, all can be covered and counted uniformly by pasting it once.
100% Browser local processing 0 Data upload

🛡️ Desensitization settings

💡 Instructions for use

  • The mobile phone number is identified by eleven digits, with separators before and after; the first three and last four digits of the code are retained, and the middle is replaced by a covering symbol.
  • By default, only the username part of the email is coded, and the domain name remains intact, making it easy to confirm which email service it is; you can also choose to cover the entire section.
  • By default, the first six digits and the last four digits of ID cards and bank cards are retained, so that the place of origin or card issuing bank can be seen without exposing the complete number.
  • Name recognition can easily damage common words by mistake and is turned off by default; if necessary, you can only retain the last name or only the last word.
  • Custom rules are one per line. The format is matching content plus replacement content, separated by spaces. Regular expressions are supported.
  • The processing is completed in the browser, and the original text is not uploaded or saved; if you need to keep the results, please copy or download the results.

Batch coding and processing of batches of data: When there is one record in each line, all can be covered and counted uniformly by pasting it once.

Four steps for batch processing

  • Organize data: one record per line, with uniform delimiters between fields.
  • Set type: Select the corresponding type according to the information actually contained in the data.
  • Execute and check statistics: Confirm that the number of hits of each type matches the number of rows.
  • Spot check results: Randomly select a few rows to confirm that the covering position is correct.

Why emphasize the unified separator

When the delimiters are inconsistent, sensitive information may be closely aligned with the delimiters, and the identification boundary becomes uncertain, resulting in missed identification of individual lines. By unifying the delimiters before processing, the consistency of the results will be significantly improved, and it will also be easier to paste the results back into the spreadsheet software for continued use.

Batch processing is suitable for organizing and exporting tables: paste the entire column content at once, replace it row by row, and then paste it back into the table. The row order should be consistent with the original text, which facilitates direct comparison.

Before processing, it is recommended to confirm that the number of fields in each row is consistent to avoid misalignment due to differences in separators. If there is both a mobile phone number and an order number in the form, it is recommended to process them twice. The rules will be clearer and errors will be easier to find.

After batch processing, it is recommended to randomly check a few lines to confirm that the number of fields in each line is consistent with the original text, especially lines containing quotation marks and delimiters, which are most prone to misalignment.

Unifying the delimiters and then batch processing can significantly reduce the missed judgment of individual lines.

📖 Glossary

Desensitization
On the premise of retaining the usability of the data, cover or replace sensitive parts so that others cannot directly identify specific individuals.
coding
The practice of covering some characters with fixed symbols, such as retaining the first three and last four characters, and replacing them with asterisks in between.
Irreversible
The obscured characters are no longer retained, and no one can restore the original content from the result, which is essentially different from encryption.
pseudo-anonymization
Replace the real identifier with a number or placeholder, and maintain a corresponding relationship table, which can be related back to the original record when necessary.
personal information
Information that can identify a specific individual individually or in combination, such as name, phone number, ID number, address and account number.
minimum necessary
Only deal with the part of the information that is really needed for the business, keep as little as possible, and cover up as much as possible.
Accidental injury
Ordinary content is misjudged as sensitive information and obscured, for example, ordinary words are recognized as names, requiring manual review.
missed judgment
Really sensitive information is not recognized, usually because the format is non-standard or mixed with other characters.
Log desensitization
Mask sensitive fields before logging to avoid writing personal information into the log file when troubleshooting.
Data export
Sending data to offshore servers involves compliance requirements, so local processing tools are more suitable for sensitive data.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

How many rows can be processed at one time?
Depending on the browser memory, tens of thousands of rows can usually be processed smoothly; batching is recommended when the amount of data is extremely large.
How to paste the processing results back into the form?
The result retains the original delimiters and row structure, and the entire section can be restored by column by copying and pasting it back into the spreadsheet software.