Skip to content
UniKit

Batch address parser

Parses one address per line into the same normalised form and totals the parsed lines, failed lines and field count; unparsable lines are kept verbatim and marked [unparsed] without aborting the batch, with an optional line-number prefix.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

One address per line — paste the column you copied from a spreadsheet. A failed line never aborts the batch: it is kept verbatim with an [unparsed] prefix.

Normalised addresses

Each line is reordered as province → city → district → street → detail (plus postal code and phone) and can be pasted back into a spreadsheet.

Paste an address list to see the normalised result

Lines: 0 · Parsed: 0 · Failed: 0 · Fields: 0

What this tool does

  • Reformat a whole column of copied addresses, one per line, ready to paste back into a spreadsheet.
  • Normalise addresses before import and see at a glance how many lines parsed and how many failed.
  • Audit a list: enable line numbering to jump back to the offending row in the source data.

Example

Input

广东省广州市天河区体育西路101号
北京市朝阳区建国路1号
不认识的文本

Output

广东省 广州市 天河区 体育西路101号
北京市 朝阳区 建国路1号
不认识的文本

Each line is split with the same rules as the single-address parser and rejoined with spaces; any line with two or more Chinese characters counts as parsed, real failures are prefixed with [unparsed].

Frequently asked questions

What counts as a parsed line?

A line succeeds when it yields at least one of province / city / district / street, or when the remaining detail holds two or more consecutive Chinese characters. That is why 不认识的文本 still passes as a detail line, while Latin-only, digit-only or single-character lines fail and get the [unparsed] prefix.

Which options are available?

Three toggles: join parts with spaces (on by default), prefix each line with its original row number (off by default) and drop empty lines (on by default). With empty lines kept they are treated as failed rows.

Is there a line limit?

No hard cap — the whole pasted block is processed at once, so for very large lists paste in batches because the page still renders every result line. Per-line rules are identical to the single address parser.

Keywords:Batch address parseraddress-parse-batchofflinedeterministic

Related tools