CSV examples

These files serve as an example of proper CSV formatting for successful Import of links

Values are shown enclosed in double quotes - not required, but recommended if URLs contain any spaces or unusual symbols.

Example 1. Import of long URLs

Short URLs will be automatically generated "url"
"https://www.yahoo.com/tech/"
"https://www.google.com/doodles"
"http://example.com/"
Download


Example 2. Import of long URLs with custom hashes

"url";"short_id"
"https://www.yahoo.com/tech/";"37r"
"https://www.google.com/doodles";"37s"
"http://example.com/";"37t"
Download

Example 3. Import of long URLs with custom short URLs

Custom hashes will be extracted from short URLs "url";"short_url"
"https://www.yahoo.com/tech/";"custom.com/37r"
"https://www.google.com/doodles";"custom.com/37s"
"http://example.com/";"custom.com/37t"
Download


Example 4. Import of long URLs with custom hashes and notes

Notes are optional "url";"short_id";"note"
"https://www.yahoo.com/tech/";"37r";""
"https://www.google.com/doodles";"37s";"Funny stuff"
"http://example.com/";"37t";"real site"
Download


In computing, a comma-separated values (CSV) file stores tabular data (numbers and text) in plain text. Each line of the file is a data record. Each record consists of one or more fields, separated by commas. The use of the comma as a field separator is the source of the name for this file format.

The CSV file format is not standardized. The basic idea of separating fields with a comma is clear, but that idea gets complicated when the field data may also contain commas or even embedded line-breaks. CSV implementations may not handle such field data, or they may use quotation marks to surround the field. Quotation does not solve everything: some fields may need embedded quotation marks, so a CSV implementation may include escape characters or escape sequences.

See Also: