Home

Awesome

Sketch Data Faker

Sketch Data Faker enables you to insert random, yet predictable content into your Sketch files. You can specify what type of content to insert for each layer.

<!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> <!-- END doctoc generated TOC please keep comment here to allow auto update -->

Installation

How to Use

There are 2 ways to use it: Manual and Automatic (Recommended)

Using Manual Mode

  1. To use manual mode, right-click on a text layer. Inside the Data Feeds menu that, look for Sketch Data Faker.
  2. Inside there you can choose the type of data you want to insert into your layer. For example if you choose Full Name, your layer will now be replaced with a random full name (i.e. Jane Doe).

Using Automatic Mode (Recommended)

  1. In automatic mode you first rename your layer to tell the plugin what type of data you want to receive (see the chart below for all the data types you can use).
  2. Then, you right-click on the layer and go to the Data Feeds menu, and inside Sketch Data Faker, choose the Auto (Layer Name) option. This tells the plugin to read your layer name and insert that type of data. You only need to do this once per layer and you can do it to multiple layers at the same time

Automatic Mode Content Types

Quick examples:

Layer Renaming Helper

If you want help renaming your layers, Sketch Data Faker provides a menu inside the Sketch Plugin menuitem that will allow you to change your layer names without typing:

  1. In Sketch, select the layer(s) you want to rename
  2. Go to Plugins -> Sketch Data Faker -> Set Layer Name and choose the type of content you want to insert into that layer

2b. You can repeat this process for all layers you want to insert new content into

  1. With the layers still selected in Sketch, set the data source* Data -> Sketch Data Faker -> Auto (Layer name)
  2. Watch as all your selected layers get replaced with new content!

*You can find the Data menu either by: Right-click on a selected layer, Control-click on a selected layer, from the Layer menu item in Sketch

Full List of Available Content

You can name your layer to of these Layer Names below. Remember to follow the category.type format (i.e. address.city, not just city).

Addresses

NameLayer NameExample DataData TypeData Source
US ZipCpdeaddress.zipCode"90210"TextFaker.js
Cityaddress.city"East Zelmatown"TextFaker.js
City Prefixaddress.cityPrefix"New", "North"TextFaker.js
City Suffixaddress.citySuffix"land", "ton", "shire"TextFaker.js
Street Nameaddress.streetName"Jeromy Drive"TextFaker.js
Street Addressaddress.streetAddress"29530 Abbott Point"TextFaker.js
Street Suffixaddress.streetSuffix"Isle" , "Way", "Square"TextFaker.js
Street Preffixaddress.streetPrefix"a", "b", "c"TextFaker.js
Secondary Addressaddress.secondaryAddress"Apt. 165"TextFaker.js
Countyaddress.county"Cambridgeshire"TextFaker.js
Countryaddress.country"Bangladesh", "Cuba"TextFaker.js
Country Codeaddress.countryCode"CA", "US" , "SL"TextFaker.js
Stateaddress.state"Wisconsin", "Ohio"TextFaker.js
State Abbraddress.stateAbbr"WI", "IN"TextFaker.js
Latitudeaddress.latitude"0.2228"TextFaker.js
Longitudeaddress.longitude"112.5458"TextFaker.js

Product Names and Descriptions

NameLayer NameExample DataData TypeData Source
Colo(u)rcommerce.color"mint green", "gold"TextFaker.js
Departmentcommerce.department"Shoes", "Tools", "Beauty"TextFaker.js
Product Namecommerce.productName"Licensed Soft Keyboard"TextFaker.js
Pricecommerce.price"192.00", "681.00"TextFaker.js
Product Adjectivecommerce.productAdjective"Fantastic", "Handmade"TextFaker.js
Product Materialcommerce.productMaterial"Plastic", "Granite"TextFaker.js
Productcommerce.product"Tuna", "Gloves", "Soap"TextFaker.js

Company Names and Descriptions

NameLayer NameExample DataData TypeData Source
Company Suffixescompany.suffixes"Inc,and Sons,LLC,Group"TextFaker.js
Company Namecompany.companyName"Harvey Group"TextFaker.js
Company Suffixcompany.companySuffix"Inc", "LLC"TextFaker.js
Catch Phrasecompany.catchPhrase"Down-sized analyzing toolset"TextFaker.js
BS Phrasecompany.bs"seamless synergize e-commerce"TextFaker.js
Adjectivecompany.catchPhraseAdjective"Ergonomic", "Integrated"TextFaker.js
Descriptorcompany.catchPhraseDescriptor"tertiary" , "holistic", "intangible"TextFaker.js
Nouncompany.catchPhraseNoun"collaboration", "throughput"TextFaker.js
BS Adjectivecompany.bsAdjective"efficient", "global"TextFaker.js
Buzzcompany.bsBuzz"grow", "expedite", "drive"TextFaker.js
Nouncompany.bsNoun"convergence", "content", "e-commerce"TextFaker.js

Database

NameLayer NameExample DataData TypeData Source
Database Columndatabase.column"createdAt", "category"TextFaker.js
Database Typedatabase.type"boolean", "tinyint", "time"TextFaker.js
Database Collationdatabase.collation"utf8_unicode_ci", "utf8_bin"TextFaker.js
Database Enginedatabase.engine"InnoDB", "CVS"TextFaker.js

Dates

NameLayer NameExample DataData TypeData Source
Past Full Datedate.past"Sun Feb 18 2018 11:12:04 GMT+0100 (CET)"TextFaker.js
Future Full Datedate.future"Thu Jan 17 2020 04:00:24 GMT+0100 (CET)"TextFaker.js
Recent Full Datedate.recent"Sat Nov 24 2018 19:59:37 GMT+0100 (CET)"TextFaker.js
Monthdate.month"October"TextFaker.js
Weekdaydate.weekday"Thursday"TextFaker.js

Finance

NameLayer NameExample DataData TypeData Source
Account Numberfinance.account"54352123"TextFaker.js
Account Name/Typefinance.accountName"Savings Account"TextFaker.js
Last 4finance.mask"7577", "2558"TextFaker.js
Amountfinance.amount"690.53", "946.42"TextFaker.js
Transaction Typefinance.transactionType"payment" , deposit"TextFaker.js
Currency Codefinance.currencyCode"SYP", "USD", "CAD"TextFaker.js
Currency Namefinance.currencyName"Turkish Lira", "Nuevo Sol"TextFaker.js
Currency Symbolfinance.currencySymbol"$", "ден", "﷼", "$U"TextFaker.js
Bitcoin Addressfinance.bitcoinAddress"1MBD5F25RM4J0SO7IFLK9K6JXZGUZ"TextFaker.js
ibanfinance.iban"CH65279625495775545L7"TextFaker.js
bicfinance.bic"HBMOHMJ1"TextFaker.js

Computers

NameLayer NameExample DataData TypeData Source
Abbreviationhacker.abbreviation"FTP", "RAM", "SQL"TextFaker.js
Adjectivehacker.adjective"solid state", "back-end"TextFaker.js
Nounhacker.noun"driver", "system"TextFaker.js
Verbhacker.verb"quantify", "input"TextFaker.js
ing-verbhacker.ingverb"calculating", "backing up"TextFaker.js
Hacker Phrasehacker.phrase"Use the online AGP system, then you can hack the haptic card!"TextFaker.js

Internet

NameLayer NameExample DataData TypeData Source
Emailinternet.email"Keira48@yahoo.com"TextFaker.js
@example Emailinternet.exampleEmail"Avis_Conn54@example.org"TextFaker.js
Usernameinternet.userName"Liana_Crooks20", "Alexandrine7"TextFaker.js
Protocolinternet.protocol"https", "http"TextFaker.js
URLinternet.url"https://germaine.net", "http://velda.com"TextFaker.js
Domain Nameinternet.domainName"noel.info", "stephan.com"TextFaker.js
Domain Suffixinternet.domainSuffix"org", "net", "com"TextFaker.js
Domain Wordinternet.domainWord"davon", "sunny"TextFaker.js
IP Addressinternet.ip"64.210.26.120"TextFaker.js
IPv6 Addressinternet.ipv6"f270:ba3a:d670:93c0:eded:1e9b:70bd:feb8"TextFaker.js
User Agentinternet.userAgent"Mozilla/5.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/5.1)"TextFaker.js
Colo(u)rinternet.color"#3d5e37"TextFaker.js
MAC Addressinternet.mac"fb:d0:06:f8:b0:c8"TextFaker.js
Passwordinternet.password"gO40I5BVEUfetWO", "kUrNsxJa3yXoYr_"TextFaker.js

Lorem

NameLayer NameExample DataData TypeData Source
Wordlorem.word"rerum"TextFaker.js
Wordslorem.words"sed sapiente rerum"TextFaker.js
Sentencelorem.sentence"Itaque quia temporibus odio deserunt."TextFaker.js
Sluglorem.slug"voluptas-qui-eius"TextFaker.js
Sentenceslorem.sentences"Vitae sint tenetur porro odit id earum. Consequatur blanditiis sit voluptate doloribus quis eligendi repudiandae voluptatibus nihil. Dolor omnis magni reiciendis voluptatum asperiores tempora. Velit animi distinctio illum quisquam."TextFaker.js
Paragraphlorem.paragraph"Amet praesentium magni quia voluptas nam molestias itaque consequatur. Iste minima voluptatum incidunt accusamus. Aut neque suscipit vel ratione nihil itaque."TextFaker.js
Paragraphslorem.paragraphs"Amet laudantium eius distinctio molestiae est aliquid aut nesciunt est. Deleniti atque ab. Quasi officia dicta aut. Vel sunt sed occaecati ipsam placeat est a quia. Doloremque aliquam aperiam qui sit officia reprehenderit repellendus id quae. Enim sed id quos ut debitis explicabo sunt necessitatibus cupiditate. Vero aut sunt est. Impedit quis incidunt eum reprehenderit est qui enim sint. Blanditiis consequuntur dolorum vitae aut autem atque ratione. Ea qui dolorem. Ratione reprehenderit amet quia tempore temporibus deserunt. Ipsam ducimus adipisci occaecati. Inventore totam eveniet asperiores sit voluptatem aut rem impedit. Sunt sunt aspernatur ad incidunt exercitationem fuga. Hic excepturi quis omnis ipsum a reprehenderit modi odit vel. Aliquam eos rerum."TextFaker.js
Textlorem.text"Aut iste libero unde."TextFaker.js
Lineslorem.lines"Et placeat nisi rem ut vitae sed dolore."TextFaker.js

Names and Job Titles

NameLayer NameExample DataData TypeData Source
First Namename.firstName"Jakayla", "Sally"TextFaker.js
Last Namename.lastName"Pollich", "Schuppe"TextFaker.js
Full Namename.findName"7577", "2558"TextFaker.js
Job Titlename.jobTitle"Direct Web Developer"TextFaker.js
Prefixname.prefix"Mr." , Miss"TextFaker.js
Suffixname.suffix"II"TextFaker.js
Titlename.title"Dynamic Identity Liaison"TextFaker.js
Job Descriptorname.jobDescriptor"Dynamic", "National"TextFaker.js
Job Areaname.jobArea"Security", "Functionality"TextFaker.js
Job Typename.jobType"Agent", "Architect"TextFaker.js

Phone Numbers

NameLayer NameExample DataData TypeData Source
Phone Numberphone.phoneNumber"226.634.3129 x7019"TextFaker.js
North America Phone Numberphone.phoneNumberFormat"994-651-4933"TextFaker.js
Phone Formatsphone.phoneFormats"###.###.####", "1-###-###-#### x####"TextFaker.js

Random

NameLayer NameExample DataData TypeData Source
Random Numberrandom.number"49109"TextFaker.js
uuidrandom.uuid"f41c75fd-c540-4727-b5df-db7ead603a83"TextFaker.js
booleanrandom.boolean"true", "false"TextFaker.js
Random wordrandom.word"Avon", "magnetic"TextFaker.js
Random wordsrandom.words"6th generation", "matrix Myanmar auxiliary"TextFaker.js
Localerandom.locale"en_US", "zh_CN"TextFaker.js
Random Letter or Numberrandom.alphaNumeric"j", "4"TextFaker.js

Files

NameLayer NameExample DataData TypeData Source
File Namesystem.fileName"planner_ftp_bedfordshire.u32"TextFaker.js
Common File Namesystem.commonFileName"back_end_3rd_generation_chief.mp4"TextFaker.js
MIME Typesystem.mimeType"application/x-java-jnlp-file"TextFaker.js
Common File Typesystem.commonFileType"image", "video"TextFaker.js
File Extensionsystem.fileExt"onepkg", "pls"TextFaker.js
Common File Extsystem.commonFileExt"mp4", "jpeg"TextFaker.js
File Typesystem.fileType"image", "font"TextFaker.js
Versionsystem.semver"2.6.9"TextFaker.js

Localization / Translations

Sketch Data Faker supports localization on all text strings, where Faker.js also supports it. In order to set a layer to a specific language or locale, append |xx to the end where xx is the local code.

For example, if you want a First Name to be German, you would use name.firstName|de as your layer name. If you want the product name to be in Canadian English, you would use commerce.productName|en_CA.

See the full list of locales below. Note that Sketch Data Faker will fall back to English if the locale code is wrong or if there is no available translation for that term.

List of Locales

Changelog

Data Source and Credits

All data is from the great faker.js project: https://github.com/marak/Faker.js/