---
title: "Discussion on \"LLD for URL Shortener: Designing TinyURL\" | Hashnode"
description: "Discussion on \"LLD for URL Shortener: Designing TinyURL\". How do you turn a long URL into a 7-character string? We explore Base62 encoding, Hash collisions, and database choices."
url: "https://hashnode.com/posts/lld-url-shortener/69ae365a7eb319a147e0d100"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [LLD for URL Shortener: Designing TinyURL](https://abstractalgorithms.hashnode.dev/lld-url-shortener?utm_source=hashnode&utm_medium=feed)

How do you turn a long URL into a 7-character string? We explore Base62 encoding, Hash collisions, and database choices.

Mar 9 · 22 min read · abstractalgorithms.hashnode.dev  
Updated Jun 18  
Read the article

-   [#database](https://hashnode.com/tag/database)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#hashing](https://hashnode.com/tag/hashing)
-   [#java](https://hashnode.com/tag/java)
-   [#lld](https://hashnode.com/tag/lld)
-   [#low-level-design](https://hashnode.com/tag/low-level-design)
-   [#object-oriented-design](https://hashnode.com/tag/object-oriented-design)
-   [#system-design](https://hashnode.com/tag/system-design)
-   [#url-shortener](https://hashnode.com/tag/url-shortener)

## Written by

[Abstract Algorithms](https://hashnode.com/@abstractalgorithms)

@abstractalgorithms

  
[View profile](https://hashnode.com/@abstractalgorithms)

Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
