Prepare a CSV import template for mRemoteNG

How to build a CSV template for importing connections into mRemoteNG: derive the header from your own export, then check delimiters, quoting, encoding and credential risks.

A CSV template is a practical way to load many remote connections into mRemoteNG at once, but only if the file matches what your installed version expects. This review covers when a CSV template is the right tool, what converting spreadsheet or TSV data into an import file changes, and how to keep the result usable once it is copied, shared or re-imported. No confirmed documentation of mRemoteNG's CSV column schema, delimiter or version support was available for this article. Points that depend on those details are marked as things to verify.

Is a CSV template the right approach?

Use a CSV template when you need to create or update many similar connections, such as a batch of servers that share a protocol and differ mainly in name, host and description. A spreadsheet or delimited text file lets you fill those rows quickly, sort and deduplicate them, and review the whole set before anything touches your connection tree.

The main tradeoff is fragility. An import succeeds only when the header row, delimiter, quoting and value formats match what the application reads, and those details can change between versions. A file that worked on one installation is not proof that it will work on another.

Skip the template when you have only a handful of connections. Adding them in the interface takes less time than building and debugging a file. Also skip it if your connections already exist in a format that mRemoteNG can import directly. Check the import menu in your version to see which formats it lists.

What the conversion actually changes

Preparing a CSV import file changes the structure of the stored text. It does not change how the text looks. Words like reverse, mirror or font do not apply here: no characters are reordered, flipped or replaced with styled lookalikes. What changes is the field separator (tab, comma or semicolon), the quoting that protects values containing that separator or a line break, the line endings, and the character encoding of the file.

Keep two layers apart: what a spreadsheet shows you and what it writes to disk. A cell can look correct on screen while the saved file holds something else, such as a converted date, a dropped leading zero or a boolean in a different case. The importer reads only the saved characters, so always check the file in a plain text editor before importing.

Derive the template from your own installation

Without confirmed documentation of the column schema, the most reliable template is one your installed version produces itself. If your version offers CSV as an export format, use an export as the starting point instead of a header copied from elsewhere.

  • 1. Create one or two sample connections that use the protocols and settings you plan to import. If you use folders, put one connection inside a folder.
  • 2. Export those connections to CSV and note any options the export dialog offers, such as whether usernames, domains or passwords are included.
  • 3. Open the exported file in a plain text editor, not a spreadsheet. Record the delimiter, the quote character, the exact header row and how empty or boolean values are written.
  • 4. Save a copy of the header row as your template and add new rows in the same format.
  • 5. Import a file containing only two or three rows into a test or backup connection file, then open each imported connection and confirm the host, protocol, port and folder placement.
  • 6. Import the full file only after the small test matches.

If your version does not export CSV, or does not list CSV as an import format, treat that as a sign that this workflow may not be supported in your version. Check the project's documentation or release notes before building a template by guesswork.

Delimiters, quoting and encoding

Do not assume the separator is a comma. Some CSV dialects use semicolons, and spreadsheet software may choose a separator based on regional settings when saving. Match whatever your own export uses. When converting from TSV or from a spreadsheet paste, which usually arrives tab-separated, replace the tabs with that separator and quote any field that contains the separator, a quote mark or a line break. A quote mark inside a quoted field is normally written twice.

The snippet below shows the quoting rules only. Its column names are placeholders, not mRemoteNG's schema.

ColumnA;ColumnB;ColumnC
"App server; staging";srv-app01;"Notes with ""quotes"" inside"
plain-name;srv-db01;

Encoding matters most for non-ASCII names and descriptions, such as accented characters or non-Latin scripts. Save the file in the encoding your export used. Check whether that export starts with a byte order mark, because some tools add or remove one when saving and some readers treat it differently. If accented names import as garbled characters, the encoding is the first thing to check.

Values that spreadsheets silently alter

Value type | What can go wrong | How to check
Host names that look like numbers or dates | A spreadsheet may convert them to dates or numbers | Format the column as text before pasting, then inspect the saved file
Ports and numeric IDs | Leading zeros dropped, or long numbers shown in scientific notation | Compare the saved values with your source list
Boolean settings | Case or wording changes, for example True becoming TRUE | Match the exact form used in your own export
Empty fields | An empty field and a missing column are handled differently | Keep the full column count on every row
Descriptions with line breaks | Rows split in two if the field is not quoted | Count the rows in a text editor before importing

Credentials and sensitive fields

A CSV file is plain text with no protection of its own. Leave passwords out of the template, even if the export dialog lets you include them. Enter credentials in the application afterwards, or use whatever credential handling your setup supports. Treat even a file with only usernames and host names as sensitive, because it maps your infrastructure. Delete working copies when you finish, and do not paste the contents into online converters or shared chats unless you have checked how that service handles the data. A tool's appearance or marketing says nothing reliable about what it stores.

Will the file stay usable after copying or sharing?

The file is most likely to break in transit, not in the editor. Pasting through email, chat or a document editor can turn tabs into spaces, curly the quote marks, change line endings or re-encode characters. Spreadsheets can rewrite values when a colleague opens the file and saves it. Share the file as an attachment instead of pasted text, and ask recipients to check it in a text editor before importing.

In raw form, a wide CSV is hard to scan, and a screen reader reads it as a long run of separators and values. A spreadsheet view is easier to read but brings the alteration risks described above. Keep a plain-text master copy as the version you import, and use a spreadsheet only for viewing and editing. Paste edits back into the master copy and check them before each import.

Open questions to resolve before relying on the template

  • Whether your mRemoteNG version imports CSV at all, and which versions added or changed that support.
  • The exact header names, their order, and whether every column is required.
  • The expected delimiter, quote character and encoding.
  • How folder hierarchy is represented, if at all.
  • Whether importing creates duplicates or updates existing connections with the same name.
  • How credential fields are treated on import.

Each of these can be answered with a small test import on your own installation. None was confirmed for this article.

Bottom line

A CSV template is worth preparing when you have many connections to add and your mRemoteNG version handles CSV import. Build it from your own export, keep a plain-text master, quote fields carefully and leave out passwords. For a few connections, or when the import format is not confirmed for your version, adding connections manually or using another supported import format is the safer choice.