Blog
Text tools

Comma to dot converter online

Turns European-style decimal numbers like "3,14" into the dot format "3.14" that spreadsheets, databases and most programming languages expect. Turn on "digits only" so ordinary commas in lists and sentences aren't touched.

Your data never leaves this device

Result

Commas replaced

This page has no server side at all. The table you paste is parsed by JavaScript inside your own browser, the chart is drawn on a canvas element on your machine, and the export file is assembled locally. Nothing is uploaded, stored or written to any log. You can disconnect from the network after the page has loaded and everything will still work — which is the simplest way to verify the claim yourself.

Facts and limits of this method

Default mode Replaces every comma, including ones separating list items
"Digits only" mode Converts a comma only when it sits directly between two digits
Typical use Preparing European-formatted decimal numbers (3,14) for software expecting a dot (3.14)
List safety In digits-only mode, "apples, pears" is left alone since a space follows the comma, not a digit
Plain integer lists In digits-only mode, "1,2,3,4" written without spaces gets every comma converted
Counter Reflects the number of replacements actually made under the selected mode

When it misleads you

How it is calculated

In the default mode, the tool matches every literal comma in the text and replaces it with a period, counting every occurrence.

In digits-only mode, it looks specifically for a digit, followed by a comma, followed by another digit, and replaces only the comma in that pattern — counting only these matches.

Everything else in the text — letters, other punctuation, spaces — is left exactly as it was.

The counter shown always reflects how many replacements were actually made under whichever mode is selected.

Questions and answers

Why would I need this?

To convert European-style decimal numbers like "3,14" into the dot format "3.14" that most spreadsheets, databases and programming languages expect.

Is it safe to run this on a comma-separated list?

Only with digits-only mode enabled, and only if the list items aren't touching digits directly on both sides of the comma — always check the result. With the default settings, every comma in a list gets converted and the list breaks.

Will it break a thousands separator like 12,345?

Yes, if digits-only mode is on — it matches the same digit-comma-digit pattern as a decimal separator, so "12,345" becomes "12.345".

How is this different from the dot-to-comma replacer?

That tool does the opposite conversion — it turns periods into commas, for going from dot-formatted decimal numbers to the European comma style.

Is my text sent anywhere?

No. Everything runs in your browser; the text is never transmitted.

Related tools

All tools