diff --git a/node_tab.module b/node_tab.module
index 8b140c0..dc256ec 100644
--- a/node_tab.module
+++ b/node_tab.module
@@ -653,3 +653,48 @@ function node_tab_block_view($delta = '') {
   }
   return $block;
 }
+
+/**
+ * Implements hook_token_info().
+ */
+function node_tab_token_info() {
+  $info = array();
+  $info['tokens']['node']['node-tab-name'] = array(
+    'name' => t('Node tab name'),
+    'description' => t('Machine name of currently active node tab.'),
+  );
+  $info['tokens']['node']['node-tab-label'] = array(
+    'name' => t('Node tab label'),
+    'description' => t('Label of currently active node tab.'),
+  );
+  return $info;
+}
+
+/**
+ * Implements hook_tokens().
+ */
+function node_tab_tokens($type, $tokens, array $data = array(), array $options = array()) {
+  $replacements = array();
+  if ($type == 'node' && !empty($data['node']) && (isset($tokens['node-tab-name']) || isset($tokens['node-tab-label']))) {
+    // Load all node tabs for the current node type and select the one which is
+    // currently used.
+    $tabs = node_tab_load_multiple($data['node']->type);
+    if (!$tabs) {
+      return $replacements;
+    }
+    $tab_arg_pos = 2;
+    $current_tab = node_tab_get_current_tab($tab_arg_pos, $tabs);
+    if (!$current_tab) {
+      return $replacements;
+    }
+
+    if (isset($tokens['node-tab-name'])) {
+      $replacements[$tokens['node-tab-name']] = $current_tab;
+    }
+    if (isset($tokens['node-tab-label'])) {
+      $current_tab_loaded = node_tab_load($data['node']->type, $current_tab);
+      $replacements[$tokens['node-tab-label']] = $current_tab_loaded->label;
+    }
+  }
+  return $replacements;
+}
