---
title: Deprecated tour of the core libraries
description: The previous destination of the Dart core library introduction.
short-title: Library tour
js: [{url: '/assets/js/library-tour-redirector.js'}]
sitemap: false
canonical: https://dart.dev/libraries
noindex: true
skipFreshness: true
show_breadcrumbs: false
---

:::warning
The Dart library tour's content has been split across
several different pages in the left side navigation under **Library**.
To learning about Dart's core libraries,
check out the [Core libraries overview](/libraries) and
the [Dart API reference docs]({{site.dart-api}}).
:::

{% comment %}
  !! NOTE:
  
  All new library content should go within the `/library` directory.
  This file exists temporarily for legacy reasons so
  links to the old library tour do not break.
  
  In the short term, if you move content that is referenced here,
  update the text and link in this file, as well as
  the redirection map in `src/assets/js/library-tour-redirector.js`.
{% endcomment -%}


## dart:core - numbers, collections, strings, and more

This content has moved to [](/library/dart-core).

### Printing to the console

This content has moved to [](/library/dart-core#printing-to-the-console).

### Numbers

This content has moved to [](/library/dart-core#numbers).

### Strings and regular expressions

This content has moved to [](/library/dart-core#strings-and-regular-expressions).

#### Searching inside a string

This content has moved to [](/library/dart-core#searching-inside-a-string).

#### Extracting data from a string

This content has moved to [](/library/dart-core#extracting-data-from-a-string).

#### Converting to uppercase or lowercase

This content has moved to [](/library/dart-core#converting-to-uppercase-or-lowercase).

#### Trimming and empty strings

This content has moved to [](/library/dart-core#trimming-and-empty-strings).

#### Replacing part of a string

This content has moved to [](/library/dart-core#replacing-part-of-a-string).

#### Building a string

This content has moved to [](/library/dart-core#building-a-string).

#### Regular expressions

This content has moved to [](/library/dart-core#regular-expressions).

### Collections

This content has moved to [](/library/dart-core#collections).

#### Lists

This content has moved to [](/library/dart-core#lists).

#### Sets

This content has moved to [](/library/dart-core#sets).

#### Maps

This content has moved to [](/library/dart-core#maps).

#### Common collection methods

This content has moved to [](/library/dart-core#common-collection-methods).

### URIs

This content has moved to [](/library/dart-core#uris).

#### Encoding and decoding fully qualified URIs

This content has moved to [](/library/dart-core#encoding-and-decoding-fully-qualified-uris).

#### Encoding and decoding URI components

This content has moved to [](/library/dart-core#encoding-and-decoding-uri-components).

#### Parsing URIs

This content has moved to [](/library/dart-core#parsing-uris).

#### Building URIs

This content has moved to [](/library/dart-core#building-uris).

### Dates and times

This content has moved to [](/library/dart-core#dates-and-times).

### Utility classes

This content has moved to [](/library/dart-core#utility-classes).

#### Comparing objects

This content has moved to [](/library/dart-core#comparing-objects).

#### Implementing map keys

This content has moved to [](/library/dart-core#implementing-map-keys).

#### Iteration

This content has moved to [](/library/dart-core#iteration).

### Exceptions

This content has moved to [](/library/dart-core#exceptions).

### Weak references and finalizers

This content has moved to [](/library/dart-core#weak-references-and-finalizers).

## dart:async - asynchronous programming

This content has moved to [](/library/dart-async).

### Future

This content has moved to [](/library/dart-async#future).

#### Using await

This content has moved to [](/library/dart-async#using-await).

#### Basic usage

This content has moved to [](/library/dart-async#basic-usage).

#### Chaining multiple asynchronous methods

This content has moved to [](/library/dart-async#chaining-multiple-asynchronous-methods).

#### Waiting for multiple futures

This content has moved to [](/library/dart-async#waiting-for-multiple-futures).

#### Handling errors for multiple futures

This content has moved to [](/library/dart-async#handling-errors-for-multiple-futures).

### Stream

This content has moved to [](/library/dart-async#stream).

#### Using an asynchronous for loop

This content has moved to [](/library/dart-async#using-an-asynchronous-for-loop).

#### Listening for stream data

This content has moved to [](/library/dart-async#listening-for-stream-data).

#### Transforming stream data

This content has moved to [](/library/dart-async#transforming-stream-data).

#### Handling errors and completion

This content has moved to [](/library/dart-async#handling-errors-and-completion).

## dart:math - math and random

This content has moved to [](/library/dart-math).

### Trigonometry

This content has moved to [](/library/dart-math#trigonometry).

### Maximum and minimum

This content has moved to [](/library/dart-math#maximum-and-minimum).

### Math constants

This content has moved to [](/library/dart-math#math-constants).

### Random numbers

This content has moved to [](/library/dart-math#random-numbers).

## dart:convert - decoding and encoding JSON, UTF-8, and more

This content has moved to [](/library/dart-convert).

### Decoding and encoding JSON

This content has moved to [](/library/dart-convert#decoding-and-encoding-json).

### Decoding and encoding UTF-8 characters

This content has moved to [](/library/dart-convert#decoding-and-encoding-utf-8-characters).

### Other functionality

This content has moved to [](/library/dart-convert#other-functionality).

## dart:html - browser-based apps {:#darthtml}

This content has moved to [](/library/dart-html).

### Manipulating the DOM

This content has moved to [](/library/dart-html#manipulating-the-dom).

#### Finding elements

This content has moved to [](/library/dart-html#finding-elements).

#### Manipulating elements

This content has moved to [](/library/dart-html#manipulating-elements).

#### Creating elements

This content has moved to [](/library/dart-html#creating-elements).

#### Adding, replacing, and removing nodes

This content has moved to [](/library/dart-html#adding-replacing-and-removing-nodes).

#### Manipulating CSS styles

This content has moved to [](/library/dart-html#manipulating-css-styles).

#### Handling events

This content has moved to [](/library/dart-html#handling-events).

### Using HTTP resources with HttpRequest

This content has moved to [](/library/dart-html#using-http-resources-with-httprequest).

### Sending and receiving real-time data with WebSockets

This content has moved to [](/library/dart-html#sending-and-receiving-real-time-data-with-websockets).

#### Sending data

This content has moved to [](/library/dart-html#sending-data).

#### Receiving data

This content has moved to [](/library/dart-html#receiving-data).

#### Handling WebSocket events

This content has moved to [](/library/dart-html#handling-websocket-events).

## dart:io - I/O for servers and command-line apps {:#dartio}

This content has moved to [](/library/dart-io).

### Files and directories

This content has moved to [](/library/dart-io#files-and-directories).

#### Reading a file as text

This content has moved to [](/library/dart-io#reading-a-file-as-text).

#### Reading a file as binary

This content has moved to [](/library/dart-io#reading-a-file-as-binary).

#### Handling errors

This content has moved to [](/library/dart-io#handling-errors).

#### Streaming file contents

This content has moved to [](/library/dart-io#streaming-file-contents).

#### Writing file contents

This content has moved to [](/library/dart-io#writing-file-contents).

#### Listing files in a directory

This content has moved to [](/library/dart-io#listing-files-in-a-directory).

#### Other common functionality

This content has moved to [](/library/dart-io#other-common-functionality).

### HTTP clients and servers

This content has moved to [](/library/dart-io#http-clients-and-servers).

#### HTTP server

This content has moved to [](/library/dart-io#http-server).

#### HTTP client

This content has moved to [](/library/dart-io#http-client).
