Pumping Lemma Visualization Tool
Explore and understand the Pumping Lemma for regular and context-free languages
Regular Languages
Context-Free Languages
Regular Language Pumping Lemma Visualizer
Language Selection
Select a language
Select a language
Pumping Length and String Input
Pumping Length (
p
p
p
): 5
Input String
s
(
∣
s
∣
≥
p
)
s \; (|s| \geq p)
s
(
∣
s
∣
≥
p
)
Pumping Visualization
Pump
y
y
y
(
i
i
i
times):
i
=
1
i = 1
i
=
1
s
1
=
x
y
1
z
=
s_{1} = x y^{1} z =
s
1
=
x
y
1
z
=
Result